Fixed bug in upsert. Also added test for this.
Version bump to 0.0.0
Regenerate gemspec for version 0.0.0