fix and test sharing pages
fix and test assigning tasks - fixes #7867
fix saving the page visit timestamp - fixes 7883

also use it for the (new) or (modified) indicators in the task page
no more need to backport from rails 3.1 :)
translation and ui tweaks for task_list - fixes 7866
Merge pull request #68 from azul/bugfix/task-list-issues

Bugfix/task list issues
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
remove double render of refreshed sidebar

we now reset the sidebar from the controller response. This way we
ensure the sidebars content has already been updated. Otherwise there's
a racing condition between the request that changes the page and the one
that fetches the sidebar.
remove rails3.1 backport
fix task list test to use autocomplete well
Merge pull request #71 from azul/test/page-search

Test/page search
upgrade dependencies of castle_gates
remove gate defaults from method - unused

Also this adds a lot of complexity as we have to hand over the holder.
allow for association holders in associations modul
use holder.all_codes to aggregate default access

If there are no keys present we need to calculate the default access.

So far this was based on associated holders stored in the definition.
This allowed for customizing the default access by overwriting a method etc.

However it's fundamentally different from how we get access via keys. We already
know the set of all key_holders that might be used to get access to a castle.
So we can check if they have access by default.