have tracking of page view working

added in analytics tracking click events and page movements

fix issue with mixpanel, and ajax if it fires before analytics loads

fixed issue with it failing to run all test, still some issues

now passing all tests locally

trying again to get travis-ci to pass

last try for the night to get mixpanel to work on travis