Upgrade do Ruby on Rails  4.0.3
Changed migration for existing logins
CustomUrls for MediaResources

Squashed commit of the following:

commit a2c191a7076dfb0f27238413e5216e83f46096b3
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Feb 28 13:10:07 2014 +0100

    Testing permissions for custom_url controller

commit 865650c15447068c70141f10a39d766585caf3a2
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Feb 28 10:36:07 2014 +0100

    Testing (and implemented) creating urls quickly as ueberadmin

commit 93fd5d5390b8591c0fbc946659c6a0a3989a133a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Feb 28 10:25:55 2014 +0100

    Testing creating urls too quickly is not allowed

commit 703c1be50f7b7f69eed619b1d1ff47de663e2aa0
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Feb 28 10:15:34 2014 +0100

    Testing URL transfer

commit 6eeea02118956704b79b40c2606912dea61f3a8e
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Feb 28 08:49:11 2014 +0100

    Implementing and testing primary urls

commit 2a6dde9f6fe45afca722e1e1c5eb0a5a3b9fb39a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Feb 26 13:51:51 2014 +0100

    Wip feature test cust url, new matcher for click on

commit cbe3fc58b272dd9919f049dc89f66bb59a2f5c1f
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Feb 26 11:10:21 2014 +0100

    Use proper (but font-awesome icon) for url

commit 1a9074d3c74cfa56dea3a58b69aeb883271e55db
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Feb 26 10:45:59 2014 +0100

    Refactored ui and ux

commit 274de976f8f2e01162ff3385b05acc3068e1eb14
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Feb 26 09:19:21 2014 +0100

    Added updator and creator to custom_urls, WIP refactoring appearance

commit 64ad16ce6e3f1dc11347120792c786fcad7ee6c0
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Feb 25 16:50:44 2014 +0100

    Show actions only if permitted to act

commit 8d07ce974f14fb08fa41b65273e502b22f152ded
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Feb 25 14:53:16 2014 +0100

    Prevent eager URL creation and send proper status codes

commit db224a995d6a8e1340237c682cc0841b9048dd72
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Feb 25 13:58:01 2014 +0100

    Enabling custom_urls for MR, FS, and MS

commit 8ea950ed66e88094836127fb0aaad99212731c66
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Feb 25 12:28:32 2014 +0100

    Check permissions for actions on urls

commit b98e39683b35d9718f6d33fd820f414433ef9946
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Feb 25 11:32:51 2014 +0100

    Implemented transfer of URL

commit 1c6f58fd99e9d59b5ac257a879b5d85d3e953564
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Feb 25 10:57:27 2014 +0100

    Confirm url transfer

commit 439299d4f7be15cc97ff37741a3fab2a5728a51a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Feb 25 08:17:27 2014 +0100

    First attempt to ameliorate the media_resources before_action mess

commit 3f0feb54f73ce7f1dd2d6a33d4d2f3c6df20bb1a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Feb 25 07:59:55 2014 +0100

    Migrated personas db

commit 7823bbc6d1e632c8e4a12c37e0de305bc10c62f5
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Feb 24 21:25:26 2014 +0100

    Yay, custom primary urls work for MediaSets

commit 2b57caacb0de6bf3eb24506114b872cc9656fb31
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Feb 24 20:32:43 2014 +0100

    Wip custom urls

commit 272010b3665a9ac5b659e2c8c9473b41294340b5
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Feb 24 15:18:41 2014 +0100

    Setze primäre url

commit 1dc721b877703f4bce2b1ce7c196d0384b92bfb7
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Feb 24 14:19:40 2014 +0100

    Custom URL / Aliases