respect DOM re-ordering of formsets even if the parent form errored
Fix test_edit_handlers breaking other tests
Update snippets tests

Add an Advert fixture so that Advert objects do not need to be created
by the tests that use them.
Merge branch 'master' into fix-edit-handlers-test

Conflicts:
	wagtail/wagtailadmin/tests/test_edit_handlers.py
Merge branch 'master' into fix-edit-handlers-test

Merge. Remove deprecated tests.

Conflicts:
	wagtail/tests/fixtures/test.json
Fix wagtailsnippets.tests.TestSnippetChooserPanel

Fix wrong argument type passed to SnippetChooserPanel
Added purge_url_from cache to wagtailfontendcache.utils
Added little section in the docs describing purge_url_from_cache
Added new search configuration format
Created ElasticSearchMapping class
Added repr to ElasticSearchMapping
Moved document building methods from indexed into ElasticSearchMapping
Added repr to indexed.BaseField
SearchFields configuration is now used in the backends
Previously, we just converted them to make them look like indexed_fields.
We now convert indexed_fields into SearchFields objects and pass them to the backend.
Created get_field_mapping method on ElasticSearchMapping class
Moved field mapping generation code into ElasticSearchMapping class
Remove any duplicate search fields of the same type
Cleaned up database backend search method
Made quotes more consistant
Don't run tests with wagtailsearch signal handlers enabled