Ability to load modules in specific order

Allow modules to be inserted at set positions
Update devise.rb
Merge pull request #3328 from stephenbaldwin/master

Ability to load modules in specific order