Added unit tests for Revision::diff() and applyPatch(). Removed old and broken restore method for globals in unit tests.
Added ElasticSearch indexing for genre. Fixed update of wrong field.