Improve session security
SQL Query to find duplicate mkds wrt mks
Refactor preview mechanism
Set session properly in zhdk-auth-contr.; consolidate set_session

Squashed commit of the following:

commit 1b86cc6e99e0e98b32b61cf1f6e4b463087c7f89
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Aug 19 15:43:21 2014 +0200

    Return user object form zhdk-auth/create_or_update_user

commit 7debd8aff069ad8f6b95242d8c1c9169f0168ba6
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Aug 19 15:31:41 2014 +0200

    Resolve naming conflict with rails

commit 0db1009a846313c3286ec27f3765aa0868534b3a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Aug 19 15:25:02 2014 +0200
Add config/zencoder.yml as default to repo
Fix setting of title image
sass: plupload: fix the delete icon by removing @extend
ui/js: upgrade PDF js lib and integration

Squashed commit of the following:

commit c454c179029a26609b083955058027db6d2deb97
Author: Jonasz Grochowski <tensaioni@gmail.com>
Date:   Wed Aug 20 11:23:02 2014 +0200

    Add missing files

commit 9e239519cf506c072e6d528edd1d57f12fb7843f
Author: Jonasz Grochowski <tensaioni@gmail.com>
Date:   Mon Aug 11 08:24:32 2014 +0200

    Preliminary pdf.js update
Add test for admin "switch-to" feature; fix switch-to

* fix also user-check during sign-in

Squashed commit of the following:

commit 72fa8814e21bdfc419e4cd84b4ab2b0747ff66db
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Aug 22 12:59:42 2014 +0200

    Add test for admin "switch-to" feature

commit ffc6f77400e3e481df188f9e882ffc641d7a1758
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Aug 22 11:06:22 2014 +0200

    Check for user first before checking signature

commit 570edfb56b14d89fa7d039438f4d9f170484c971
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Aug 22 10:40:48 2014 +0200

    Fix switch_to to use set_madek_session
Admin interface: extract admins from admin group