Added test for cookie functionality.
Updated to Rails 4 - passing tests, but deprecation warnings.
Added configured Rails 4 secret key.
Removed deprecated config options.
Merge branch 'feature/Rails4' into develop