refactor the mixpanel config

* Do not base the decision solely on environment, but on a config var (set in the environment)
* Remove the hard-coded token
Track forms generated as well as form errors
Merge branch 'mixpanel-forms'