For Travis CI - detect release tag and do the necessary automatically.

When a release tag is detected in a commit, instruct CI build to perform a released package build that uploaded into release directory instead of Snapshots directory.
For Travis CI - switch CI build to use OS X build environment.