fixed some methods that got lost in merge.  also added error logging if there are problems with analytics
Merge branch 'master' of https://github.com/peterkhayes/ab.js