Cleaned up logging functions and added docstrings.
Move pip requirements.txt file to be in /pkg, in order to be similar to
leap_client dir structure. Renamed VERSION to VERSION.md so that github
will recognise it.