Version bump to 1.4.0
Fixed gemfile and rakefile
Regenerate gemspec for version 1.4.0