Reconnect if anaconda-mode settings changes.

If user change host or port than anaconda-mode will connect to proper
target automatically.
Add anaconda-mode server restart test case.
Add minor mode test cases.