Update devise support

Improve devise integration. Adds travis matrix testing across Devise 3.2, Devise 2.2 and without Devise.