Modified gemspec to ensure compatibility with dependency scenarios
Added rails 4.0 to the test suite