Revert "page sidebar: refactor the link lists with partials and collections"

This reverts commit 95f5c74b73446b16568376ecba7d6e6fdccccf60.

Conflicts:
	app/helpers/pages/sidebar_helper.rb
Revert "update calls to use current method names."

This reverts commit c66ba68caf693bb014f3c7fb8a12bbef2aceb2a8.
adopt integration test assertion to star markup
prevent dangling autocomplete requests

dangling ajax requests mess up other tests.

 We fill in the autocomplete character by character.
 As soon as the thing we are looking for shows up we click it.
 Filling in the whole field would trigger tons of autocomplete requests.
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