test for sharing during page_creation - covers #2776
Merge pull request #67 from azul/bugfix/permission_issues

test for sharing during page_creation - covers #2776
ujs path_search as a start to fixing page-search
bring back initial page search when loading /pages
disable history.js for now

It breaks our current page search workflow
add POST routes for page search

at some point we should probably make this controller restful:
PageFilterController
 * show - show current page filter
 * create - add a new filter
 * delete - remove a filter

The path could remain the same.
integration test for searching own pages

also make fixtures more consistent by specifying a owner_name everywhere where there's
an owner_id

plus changed order of before_save callbacks for pages so that ensure_owner comes
before the page_term creation. That way the page terms will also have an owner set.
fix integration testing with sphinx

* clean up page terms when the test starts
* turn on delta indexing for sphinx
* set proper timestamps on new pages
do not list deleted pages as recent - fixes 7844