make it compatible with rails 4
update docs for rails 4
remove Gemfile.lock
fix deprecation warning
tidy up
bump to 4.0.1