a start
update tests to assert metrics are called
better tests to assert event names
track both metrics and errors
Merge branch 'mvp' into jhbate/analytics

Conflicts:
	lib/state/appActions.js
make errors nice for logs
only report devices when we have found one
Merge branch 'mvp' into jhbate/analytics
updates from review
Merge pull request #31 from tidepool-org/jhbate/analytics

Jhbate/analytics