Added support for Rails 3.0, 3.2 and 4.0
some cleanup
bump version