Separate IO_Interface from Context

rename MetaContexts to Contexts

Squashed commit of the following:

commit 5043b27a1d2038ef6ff6537ed52ef0e84f1cb7ed
Author: Thomas Schank <DrTom@schank.ch>
Date:   Thu Jun 19 14:16:32 2014 +0200

    Implement for_io_interface

commit 1c4a393712737c74817d922011ecffc58e442b66
Author: Thomas Schank <DrTom@schank.ch>
Date:   Thu Jun 19 14:05:21 2014 +0200

    Tms download, to be continued

commit e7b3cc911f6eaa2c99cdf3bd2e5302c63415e2aa
Author: Thomas Schank <DrTom@schank.ch>
Date:   Thu Jun 19 14:04:02 2014 +0200

    Revert "Fix download tms test"

    This reverts commit b5739d7c79ed10595527e6c76c3d78cd29ced0d7.

commit b5739d7c79ed10595527e6c76c3d78cd29ced0d7
Author: Thomas Schank <DrTom@schank.ch>
Date:   Thu Jun 19 13:42:33 2014 +0200

    Fix download tms test

commit ac4322e7fc053a4fceabca3dd0367371ba91dd9a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Thu Jun 19 08:35:14 2014 +0200

    Spellfix

commit 12cffa17c2986b179bb71a20c1ab55d112d3497d
Author: Thomas Schank <DrTom@schank.ch>
Date:   Thu Jun 19 08:09:52 2014 +0200

    Fix browse feature

commit c6694b114118c679b0e98a3fda30cc8d94218657
Author: Thomas Schank <DrTom@schank.ch>
Date:   Thu Jun 19 07:53:13 2014 +0200

    Adjust a feature step; fixing app_admin pending

commit b8bb8c5006f50d8bd4b209059ccc601a94f017c5
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Jun 18 19:08:36 2014 +0200

    Even better

commit 8309692fdfbad8ccb30b8beb5fae51986227741a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Jun 18 18:37:28 2014 +0200

    Rename two columns in app_settings

commit e2a7894a5fe0edc44e3c289a517991d2d1406008
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Jun 18 12:58:09 2014 +0200

    Fix name -> id for context

commit 059d83bdc913d94b8136723868e35c1216a07993
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Jun 18 09:06:08 2014 +0200

    Rename context-name -> context-id in features

commit e907c9d0cf035f9ad2217475d97194983a04fb70
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Jun 17 10:02:36 2014 +0200

    Fix spec

commit 8df61c51caefabaf17ae4ce7c869ed344b514e57
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Jun 17 09:43:56 2014 +0200

    Finally fix metadata test

commit 126aaaefe6e2317fe3c503d653b23a4928dba172
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Jun 17 09:01:22 2014 +0200

    -_name -> id in specs

commit 948e9e05123ee8c030b008eaba32921e11a3c36b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 17:01:30 2014 +0200

    Move meta_data edit feature test from cucumber to rspec

      and add some debugging hints

commit d39014b0a9c2a25fa8fab73c3dcfc11371bd332f
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 18:22:59 2014 +0200

    Fix spec

commit 1edc1ef9b920d38b4919968fad9e77eba30e99b8
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 15:52:03 2014 +0200

    Fix specs

commit c7c9b8e82f418b37d0b91e61d1fdb2f0b4e892f4
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 15:44:20 2014 +0200

    Adjust a test

commit a18f79123d5ba3ccfb872a3408c4591b4ed3147a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 15:23:57 2014 +0200

    Fix dropbox import spec

commit a4704650bc75b4757201cbef351ea999212a7ef9
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 15:20:23 2014 +0200

    Adjust a test (should have been wrong before)

commit 8c37725105ec29fb714515234500afe271fbb575
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 15:07:19 2014 +0200

    Fix meta_key_for

commit 6678dd09a72dda6d34fab0cb84fe3beb240f535d
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 15:03:15 2014 +0200

    Fix spec setup

commit 550aebf309b7fcaf196cef1982c5066f90f3316a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 15:02:58 2014 +0200

    Add test for MetaKey.meta_key_for as a prerequisite

commit 83652ee292a67665aa00dc4e8b8f6e71a258ce43
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 14:06:50 2014 +0200

    Fix import_controller/zencoder_job_spec

commit 5a0981964438c3db1e0ecf946e005fdd9ebcd4e5
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 10:53:27 2014 +0200

    Take care of tms, sort of

commit 6d9090e5760ff7a638b8aaf4f36338c57748e090
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 10:37:12 2014 +0200

    Fix remove usage io_interface as context

commit a876fcee3f86812e3cad053bec49c361401120cd
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 10:26:06 2014 +0200

    Fix filter set view

commit 55d78d778623677db8bf605fabc1ed8ee047cce2
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 10:20:18 2014 +0200

    Adjust views so we will not have clashes with some rails internal
    Context module

commit 918b283962195dccdd92159150189f09816e2a26
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 10:03:03 2014 +0200

    Rename context-name -> context-id

commit 84d639a9c9c249ede986f5af875c7ff755282dd7
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 10:00:26 2014 +0200

    Fix view

commit 3bef589a07b56ae131ebb127fc0bac94b3edc9f2
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 09:49:10 2014 +0200

    context_name -> context_id

commit b2c40bb7aacbdcd55e02e5237cbbd57b96c9e1d7
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 09:33:40 2014 +0200

    Fix a view

commit 5fa64a66b5800d46edfbf06bfc06dda0ebe5504b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 09:00:54 2014 +0200

    Remove useless validation in MetaKeyDefinition

commit e0ca857c9a7bd6e715b8917da045e574329636c1
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 08:59:26 2014 +0200

    Fix meta_key_definition factory

commit ec6eb0ae137ed058ac9b6eec28249e435181d634
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 08:55:49 2014 +0200

    Fix view

commit 918c190503893f2b8d1900438a3a7b34eb96d5da
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 08:54:09 2014 +0200

    Remove io_interface stuff from context; add io_mappings to meta_key

commit 612e9c30d8924b6eb811484f916768c6975ee19c
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 08:50:16 2014 +0200

    Fix io_interface stuff in media_resource

commit bb3b7d2e26b0687266b8ef92762c9e9113ca1dc0
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 08:32:50 2014 +0200

    Setup io_interface factory and fix a test

commit aa6d6801df5fd1db79fff2d55f3cfcf21a3ec730
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Jun 16 08:21:09 2014 +0200

    Renamed id of  default io_interface to 'default'

commit 5768bddb12c27142fa192622726c0ec04dfe6779
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 18:05:33 2014 +0200

    Create io_interface entities and migrate data

commit 7d424a118006ca512ca4ad587327ce1fefe2a99f
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 15:42:05 2014 +0200

    Renaming and fixing some stuff

commit 9c3641ff3ea10fc93095db465886636ad2ef1137
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 15:20:09 2014 +0200

    fix name -> id for context

commit b5f41cd1de76922ad61fc53e3b52a6ea0b1c2d7f
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 15:19:27 2014 +0200

    Rename context_name -> context_id

commit f1426ac21ef5ce95d7e0b75d704bad3ee749779c
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 15:17:02 2014 +0200

    Rename more database stuff

commit ec9718dece510eb03dcc4d25f73f28f43ef673ea
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 14:32:14 2014 +0200

    Rename join table

commit cb764285cc0712c821998ce7f3c544f6a6fcb921
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 12:51:05 2014 +0200

    Refactor group_id

commit a16ca3bf8cdc31348e435765f16082a1d0d58090
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 12:30:00 2014 +0200

    Fix factory

commit b1fd1a12ed46586260df0cf1b38dbff362318395
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 12:13:34 2014 +0200

    ... factories

commit ca4a60780df6394dcf1f7c8599870eac4865a22b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 12:07:10 2014 +0200

    More ...

commit 707c30a01d433aa416a53491d14772c0e00d5a20
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 11:48:46 2014 +0200

    Also rename context_group

commit f75946f3fcc8dd024cefa50898c2f0826f4b7c21
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 11:42:39 2014 +0200

    Rename things from meta_context to context only

commit 3a8ebbaad0ba4e6edda3244f9e74f9cadaa4f8a1
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Jun 13 10:52:16 2014 +0200

    Refactor context db table
Fix admin interface after refactoring

Squashed commit of the following:

commit ba700b3a90d9e7c08ff5d8ec9ab8555f1a318820
Author: Jonasz Grochowski <tensaioni@gmail.com>
Date:   Fri Jun 20 10:47:15 2014 +0200

    Fix admin interface after refactoring
Admin interface: manage meta_keys improvements

Squashed commit of the following:

commit 829b03d9b1fbdefacc11a6660b845338cfe883c4
Author: Michał Podlecki <m.podlecki@op.pl>
Date:   Tue Jun 17 12:05:02 2014 +0200

    Squashed commits:

    - ability to filter used/not used meta keys
    - not used meta key can be deleted

commit 101e8cad56b8c2bc57a0dc1046955f14bea70d3a
Author: Michał Podlecki <m.podlecki@op.pl>
Date:   Fri May 30 12:50:46 2014 +0200

    admin cannot edit the label of a metakey
Updated db schema diagram