Added required configuration for rails 4
Required changes for Rails 4
Adjusting version number(4.0.0.dev) and dependencies