Refactor dependency checking to use requirement strings
Make devise soft dependency

Load devise only when the dependency is fulfilled. Show an error
message when running generator without devise gem.

Fixes #542.
Add runtime check for Devise version
Merge pull request #3041 from lautis/devise-soft-dependency

Conflicts:
	lib/active_admin/resource_controller/decorators.rb