Admin meta_terms feature

Squashed commit of the following:

commit b805776fccd123f46e8e0d94f0a0e3b8eabb07bb
Author: Michał Podlecki <m.podlecki@op.pl>
Date:   Mon Mar 17 11:14:44 2014 +0100

    handle Symbol as an argument

commit 11fd205f5bb3bd474fe2b332060fb879791d09df
Merge: 82dc649 42737f4
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Mar 17 10:07:41 2014 +0100

    Merge branch 'ts_merging' of github.com:zhdk/madek into ts_merging

commit 82dc64990926ede9714baef6aba8ea54efc58c09
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Mar 17 10:07:10 2014 +0100

    modified:   db/structure.sql

commit 709227526e334cc6643bcc10257b883567e740a9
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Mar 17 10:06:09 2014 +0100

    Run migration on personas

commit 42737f49a4734357a7dd08d7e0eb9637f86f9975
Author: Michał Podlecki <m.podlecki@op.pl>
Date:   Mon Mar 17 10:00:11 2014 +0100

    remove problematic test

commit 876933a872b52c1c8731a4ac80bd6e67b2c56886
Author: Michael Podlecki <m.podlecki@op.pl>
Date:   Mon Mar 17 09:45:15 2014 +0100

    Merged meta-terms feature

    Conflicts:
    	app/controllers/app_admin/meta_terms_controller.rb
    	app/models/meta_term.rb
    	features/admin_meta_terms.feature

commit baf14bf86b0c8b0e9c71400bce6eb5bc851f7f5e
Author: Michael Podlecki <m.podlecki@op.pl>
Date:   Mon Mar 17 09:37:39 2014 +0100

    Finalized admin meta_terms

    improvments and test for sorting
ui: batch permissions: show conditional buttons if at least one (not all) resource applies

part of [#62230654]
ui: media_resources/selection: also link to resource on thumbnail in table view

part of [#62230654]
ui: custom urls: language fixes

part of [#59825944]
Added more test specs to import#upload

Squashed commit of the following:

commit 275f996476ecc24ead19bbc7f45f18456dcdabd9
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Mar 18 12:32:50 2014 +0100

    Testing uploaded meta data

commit 8e0265a8f3b9e72ff031b60918115f04d1a23dc4
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Mar 18 11:17:31 2014 +0100

    Testing more imported media_file properties
test: fix custom URLs test
Fix definition of THUMBNAILS and add one more spec

... wrt. to media_file in import#upload controller

Added spec
Modularized code in user and person model

Squashed commit of the following:

commit 08cadabd46c0fc07327633e09adb9a81c0d5c980
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Mar 19 08:56:56 2014 +0100

    Fix: moved module to proper place

commit 0c45cf7446b86e429c05f200dcad1aca5cab594b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Mar 19 08:34:20 2014 +0100

    Modularized person model

commit 250a7d3fe64399d7738060552ae62f848f2d11c9
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Mar 19 08:22:21 2014 +0100

    Modularized user's search_code into module

commit 7aec8ec9b989f482251afff7667ea54a283cf22c
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Mar 19 08:01:51 2014 +0100

    Modularize user's dropbox
Refactore dropbox import, correct verbs; junk nonsense; add spec

Squashed commit of the following:

commit fdfe338520265016ae3fa070155e22bd376ca055
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Mar 19 10:25:02 2014 +0100

    Added spec for dropbox_import

commit b224e527725bf5c94d69d8a590fc209c9295de46
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Mar 19 09:38:41 2014 +0100

    Minor cleanup of import#dropbox_import

commit 19fe3897470d2d0c46ab57469e3a19a916f25df2
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Mar 19 09:31:26 2014 +0100

    Removed dropbox_import_spec for now

commit 87b6cb71106c7697a59a9920f1cdf249e2c03cb1
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Mar 19 09:30:33 2014 +0100

    Put some sense into upload verbs

commit 23f26ac4ffef842e80c28285739f1a746f86916d
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Mar 19 09:23:00 2014 +0100

    Started to refactor dropbox
Delete junk files
test: #cleanup
controller/route: slight refactor user/app to better handle usage terms

part of [#66327600]
better handle accept/reject usage_terms

delivers [#66327600]
Testing meta_data#update with rspec
Setting selected of the first copyright option properly
Setting stable_version to 2.0.2
Refactoring: modularization, remove superfluos model dependencies, import ...

* Remove hooks which created cascading modules: MediaEntry, MediaFile, Previews, ...
* Modularized several models: User, MediaEntryIncomplete, MediaFile, ...
* Complete refactoring of the central methods in the import controller
Adding the new API: application entity, permissions, basic routes, ...

* adding new entity API::Application
* permissions thereof
* creating api in the admin interface
* new API Controller
* API Authentication
* API Authorization
* initial resources for media_resources; perviews and media_files
Removing comments for the 'old api'
Use https: instead of git: for submodule url