Support for affiliate linking (PHG only)

Adds support for affiliate and campaign tracking in the App Store url. Almost identical to my iRate pull request.

See: http://www.hpique.com/2013/08/parameters-of-itunes-app-store-and-mac-app-store-links/

Also, added the default .gitignore.