Remove useless helper.
Implement basic redirection tracking.
WIP Implement device-based tracking.
Rename :user_agent to :http_user_agent.
Setup database_cleaner for tests.
Add tests for Device and fix a few bugs.