Version bump to 4.0.0
Regenerate gemspec for version 4.0.0