Updated the gemspec.
Ensured that Git ignores editor backup files.
Bumped the version to 0.4.0.