fix people directory autocomplete
separate autocomplete js
style and clean up people directory autocomplete

We now use a form with data-remote: true and submit that form via ajax
when an element is selected from the autocomplete. This makes the whole
autocomplete a lot less complex. No more need to trigger remote_functions
from handlers.

I hope to extend this approach to all autocompletes. It will also help us
when we migrate to jquery as it relies a lot less on prototype.
use autocomplete for groups directory
search and autocomplete my groups
backport AR query none

User.none will get you an empty chainable relation.
backported from rails 4
failing: more integration tests for people directory
also respond to json with groups directory controller
people directory with autocomplete for friends and peers
replace autocomplete_users_field_tag

use autocomplete_recipients_field_tag in message form
use autocomplete_input_tag in other places.

The former will only list users that may be pestered.
The latter will autosubmit the form if an entry is selected.

Autosubmit is fine for the search_filters we're using this for here. However we don't really submit() the form. Instead we trigger a click on the submit button so it can trigger a remote function. We will replace this with a less obstrusive js version later.
bring back response.query for entities controller
fix brackets in js expression to focus autocomplete field
fix sharing during page creation
stay in sync in autocomplete with preloaded data
use translated strings for search and share autocomplete
Merge pull request #82 from azul/bugfix/directory_fixes

Bugfix/directory fixes