Bootstrap scripts used fixed /tmp paths with generic names like
/tmp/main.sh, making them easy to collide with or accidentally
overwrite. Write them into $HOME/<module_dir_name>/scripts/ instead,
following the pattern used by the agent-helper module.
Also fix install.sh hardcoding port 3284 instead of using
ARG_AGENTAPI_PORT.
Refs #736