Change quotes-plugin, fix a missing variable on main lib.

Add missing semicolon

Better upsert
Merge pull request #22 from gildean/master

Make quote-plugin easier to use.