Rename ldap_ to institutional_group_

Squashed commit of the following:

commit 07ac25998b53fc60ed2bccc8a982edd56782f2d9
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Oct 6 10:15:48 2014 +0200

    Rename ldap_x to institutional_group_x in code

commit 4e3c3d681e93d967f2b1e4180a8ba639c479f059
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Oct 6 09:59:54 2014 +0200

    Rename ldap_x to institutional_x in groups table
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
Add queries for detecting to be mapped metadata
ui: js: meta_data: departments: filter LDAP groups with black- and whitelist

Squashed commit of the following:

commit 0c821020f7eb4dab8f4d71ca992361426f042d8a
Author: Max F. Albrecht <1@178.is>
Date:   Tue Oct 7 17:13:24 2014 +0200

    make more defensive, only filter if there is data

commit d7e26a580c83a8240080820c428f426586df3787
Author: Max F. Albrecht <1@178.is>
Date:   Tue Oct 7 17:02:56 2014 +0200

    cleanup #2

commit bd6a94c462943482c3651a90321c769b58d8c19c
Author: Max F. Albrecht <1@178.is>
Date:   Tue Oct 7 16:51:23 2014 +0200

    cleanup

commit e2c63ac68a1252cf7127ddeb20dc628c3e04e7ab
Author: Max F. Albrecht <1@178.is>
Date:   Tue Oct 7 16:01:05 2014 +0200

    implement filtering with black- and whitelist

commit 78a2cf9cc57a5277d5a929f04e004cda1049b0e2
Author: Max F. Albrecht <1@178.is>
Date:   Tue Oct 7 16:00:52 2014 +0200

    add black- and whitelist

commit 6c0c0219d449f8b5ada478dbee806e45de8271e3
Author: Max F. Albrecht <1@178.is>
Date:   Tue Oct 7 13:43:23 2014 +0200

    Revert "remove dead code"

    This reverts commit 75bbdb930bb3e0da774d4e8ef4d6b7080d0bef47.

commit c5facd1994fbbf448ae93ef58491581efb7621e2
Author: Max F. Albrecht <1@178.is>
Date:   Tue Oct 7 13:42:20 2014 +0200

    remove dead code

    (possibly)

commit 61e7a353a807d458a88be57b16650eb11b489383
Author: Max F. Albrecht <1@178.is>
Date:   Tue Oct 7 11:37:07 2014 +0200

    cleanup
Document alternative way to link mr to ms, me
ui: my: show 'vocabulary' section more consistently

Now the section is only shown and in the sidebar if there are any accessible resources in any context,
just like the listing itself does it.
Also fixes a double-nesting in the markup.

Squashed commit of the following:

commit 46228144daa34d3be076fe1eb39a49fabfa856f5
Author: Max F. Albrecht <1@178.is>
Date:   Wed Oct 8 12:52:45 2014 +0200

    fix container nesting

commit 356f0797584a9d358d339bb9aef0b62c98dfb3f7
Author: Max F. Albrecht <1@178.is>
Date:   Wed Oct 8 12:45:02 2014 +0200

    consistently filter context for all of /my

    only show accessible resources!
Add message for empty set hack
Move to firefox for workgroups.feature; jsbrowser hangs forever

 ... however, there is a real problem here

 which seems to relate to the recent bootstrap upgrade
test: workgroups.feature: add more sleeps and other hacks

- also revert a while added in e7695fa3ee519b3e72c79666114a3aa4db5cfaee.
test: workgroups.feature: try stroking the modals gently with js

also run that 1 buggy test in jsbrowser…
Admin mode: admin can delete a media entry

Squashed commit of the following:

commit 0b07a370bd239da9501988186d66440412bd86c1
Author: Michał Podlecki <m.podlecki@op.pl>
Date:   Tue Oct 7 11:12:27 2014 +0200
Export: correct type indications for smaller file versions

Squashed commit of the following:

commit f9b370ef8e78c97ec3a5025b30dd1ca8928dd607
Author: Michał Podlecki <m.podlecki@op.pl>
Date:   Thu Oct 9 11:37:18 2014 +0200
Admin interface: fix metakeydefinition's label
Add randomization to teaser sets
Improve export dialog
Remove capistrano and config files thereof