initialize the BASE_DIR with env GOAGENT_HOME, try python3 firstly

Let the `BASE_DIR` be `GOAGENT_HOME` if exists. If not, try `/usr/local/goagent`.

Use `python3` as default.