Finished mercurial, changes to logger

    * Finished mercurial downloader
    * Made some changes on the logger
minor changes in path and source
addec checks.go that I forgot in previous commits
added env package