Move Mixpanel lib configuration to assets folder

Bugs were happening on sending events to Mixpanel due its definition inside the HTML (being re-configured on every request) and causing "too much recursion" error on JS.
You can use the event from turbolinks: `'page:change'`. Now about the pajax, you can use: `pjax:complete`.