Update for devise 3.3.0

This PR adapts the code base and especially the specs to support devise 3.3.0. Furthermore, the specs are now running with RSpec 3.