Move analytics pageview increment function to be defined globally.
Merge branch 'poy' of github.com:vivelohoy/vivelohoy-3.0 into poy
Add debugging to console log to increment_pageview_for_photo function.