Prepare to remove resource table entirely

Squashed commit of the following:

commit 0487b5a5e1512133732edb057c7e6e066c1afac2
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:21:24 2014 +0100

    Remove obsolete tests

commit b07f0cd68cc707c204a5c2c4ba34317b99574c8b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:17:24 2014 +0100

    Remove fkeys to resources

commit 2902b75b17a3455dfcf0d9214a2229bf1aa83bca
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:12:43 2014 +0100

    Remove some models, factories and specs

commit cc9117302191111d1145f8c86fca509f7e726e5b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:07:50 2014 +0100

    Run migration and reset personas

commit 5356d4a373d9d2e880f097914ff7433686ca0648
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:04:26 2014 +0100

    Disable triggers in migration
Relink meta_data from resources to new tables

Squashed commit of the following:

commit 0390cedfd212008f6e69bc0949c909b86bb40eb1
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 14 09:58:35 2014 +0100

    Fix factory

commit 1c3ad5ad78f1d0720c051f3f91c175a9bee3b541
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 14 09:11:59 2014 +0100

    Fix factories

commit 477ff8a85aa5e0919ecfdacd33c6f39ff5a3fb5a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 14 08:26:00 2014 +0100

    Rerun migrations

commit 63d470a93c15483a4f151d2f4fc23ffb2068ad2d
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 19:46:29 2014 +0100

    Clean migrations and make the run again

commit 5cdc6fc2b45946997694f11b1a2450ebc2a85934
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 18:26:58 2014 +0100

    Reverting name changes up to migration 101 ...

commit ec36aed05450ecd7d1bef278feec76449c7ecb97
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 15:09:29 2014 +0100

    Linking meta_data to media_resources, etc, ....
Upgrade gems