Updated Fidelity logout to reflect change in website.
Major rewrite of code to cleanup functionality.
Merge branch 'master' of ssh://github.com/gazzman/data_gathering