Admin interface: fix setting special sets

Squashed commit of the following:

commit 757601840443052befc6cfd6674b7ed75d7d6049
Author: Michał Podlecki <m.podlecki@op.pl>
Date:   Mon Sep 29 15:34:16 2014 +0200
Clean zhdk group metadata (LDAP)

Work on ldap_cleaning migration ...
Upgrage zhdk_integration gem for inst-grp renaming
Reidex media_resources after metadata migration
js: upgrade to bootstrap 3.2

- fixes some strange to find bugs caused by transitions
- modal handling now slightly less worse
- some test workarounds

Squashed commit of the following:

commit 86739985f049e2f90fa64b868fd7725d6f544f57
Author: Max F. Albrecht <1@178.is>
Date:   Mon Oct 6 15:55:17 2014 +0200

    ui: js: lib: modal: make more robust

    adds the 'shown' class *after* all tasks are done on the modal

commit 9161ce1f9acd77c964a1b94ba5429cd91e06f43a
Author: Max F. Albrecht <1@178.is>
Date:   Mon Oct 6 15:30:41 2014 +0200

    more stupid test fixing

commit 1221f4a05180d4ec0ea7bf8457c39537b49b8fb8
Author: Max F. Albrecht <1@178.is>
Date:   Mon Oct 6 15:08:42 2014 +0200

    js: #cleanup

commit 01fe669dd522b1929dfac3894f5d0a65b07e5db4
Author: Max F. Albrecht <1@178.is>
Date:   Mon Oct 6 14:09:45 2014 +0200

    fix a stupid test

    wait_until--

commit 4f9eb307524585a13fbec0d433bae282a868f2c3
Author: Max F. Albrecht <1@178.is>
Date:   Mon Oct 6 13:45:23 2014 +0200

    upgrade bootstrap event names (now namespaced)

commit 89993e2b17329ccd1a8e4e300e903929524f5cbc
Author: Max F. Albrecht <1@178.is>
Date:   Mon Oct 6 12:25:38 2014 +0200

    try upgrading ALL bootstrap

    should fix strange errors wrt transitions
Admin mode: admin can delete a media entry