Changes to login and bug fix to versions
  - Adds support for login using .synapseConfig file in home directory.
  - Fixes circular import in version_check.
  - Removes login function from commandline to have unified interface.