get_page_types no longer required in wagtailadmin.views.pages
Check that the content type passed to wagtailadmin.pages.create is valid according to subpage_types
Make can_add_subpage and can_publish_subpage permission checks return False for page models that disallow subpages; this ensures that 'add child page' links are not shown
Bypass 'choose a page type' screen when there is only one available choice in subpage_types
Add unit tests for edit_handlers.py. Lint edit_handlers.py.
Merge branch 'master' into edit-handlers-unit-tests

Conflicts:
	wagtail/wagtailadmin/edit_handlers.py
Remove broken test
Update edit handlers unit tests

Add more tests. Clean up modified class properties after tests finish.
Replace assertRegexpMatches with assertIn.
Merge branch 'master' into edit-handlers-unit-tests
Scrapped ElasticUtils, use Elasticsearch-py instead

Conflicts:
	wagtail/wagtailsearch/backends/elasticsearch.py
	wagtail/wagtailsearch/indexed.py
New ElasticSearch module now supports bulk insert
Install elasticsearch instead of elasticutils on travis

Conflicts:
	.travis.yml
Tests now succeed on elasticsearch 0.90.x
Fix Travis test failures
Split ESResults into ESResults and ESQuery
Renamed a couple of methods on ElasticSearchResults
Added __repr__ method to ElasticSearchQuery
Removed ability to use prefetch_related in search queries
This will be replaced by search on queryset
Made finding objects for search results the responsibility of do_search
Slicing ESResults now returns a new ESResults object
Previously, slicing an ESResults object made it run a query against ElasticSearch and return the results
This commit changes this by making slice return a new ESResults object with start and stop limits applied. To get results, you now have to iterate the ESResults object.