Misc rails 4 migration fixes

Fixed / updated application for rails 4 secret key
Fixed / updated study.rb to match new rails admin syntax
Removed CKeditor mount dependency as we are using codemirror