Merge branch 'master' into dev
added UA id to config and changed hash change listener in analytics
passed page model to all pageselected listener functions
fixed imageUrl helper

maxwidth and maxheight optional parameters and defaults now working
began work on default photo gallery

added bp styles and layout for photo gallery thumbs and on click ..

updated core View _getDeferred()… was not triggering show/shown or
hide/hidden events if transition had already completed
Merge branch 'dev'