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.
It might be more reliable to check the Maven repos than to check git tags, since we resolve our artifacts from Maven Central.