Update gems
Store Levenshtein distance

Also, use Levenshtein distance instead of crude word count to decide
whether to store a new version.
Add place and content_class
Tidy up