report version number in user agent string

refs #628
make sure it also works when there are no git tags
don't print more information when a tag actually is available
support fewer parameters
add missing gyp file
Merge pull request #705 from mapbox/user-agent-os

Include operating system and actual version number in User Agent string