check latest version from github and warn user if update is available

It will do a get to github api and parse the json response to get latest version. It then compares it with current version and prompt user for update if applicable.
We should either fix `do_version_check` to work with `-e`, or disable the `-e` option during `do_version_check`.