Revert "First stab at a redesigned selection manager, not functional, because I broke some of the jQuery selectors, and added a bunch of stuff!"

This reverts commit 1ae81a4854974273e9ff90c427500359df3f1714.

Signed-off-by: Marko Locher <marko@locher.at>