Switch to ActiveAdmin

Squashed commit of the following:

commit 8e3f9893091c777b06e1c5b783cd8b60537bffc1
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 28 15:27:51 2012 +0100

    removed name clash

commit e49140893213dbd0fcf8dd37f2fa490040063c4b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 28 15:17:05 2012 +0100

    Fixed upload_image

commit 50fe2d5b57008b068c8414b91a7b2777e0af39f4
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 28 15:09:06 2012 +0100

    fixed upload feature

commit 7eeb88d2459e24a88f1133490a918cb7d4074bba
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 28 14:53:48 2012 +0100

    fixed step

commit e86e8c1e4286b843f14730dfb43b9f4e252783e0
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 28 14:20:46 2012 +0100

    Custom meta key definition

commit 3181bdf928f052b1436b3c0f67370e3d79845511
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 28 12:35:05 2012 +0100

    Added visualization to admin interface

commit 514d0e389c34f8713077ac56fd9c1714fe2e127b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 28 12:10:26 2012 +0100

    CI rebuild

commit 43508ce407f9ef39be74495ba2e686d3c1bd4a57
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 28 09:07:44 2012 +0100

    Fixed routes again

commit 0b20557ea5a645946b95cd6cc08f8d47440e3459
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 27 20:34:57 2012 +0100

    Rebased on top of next again

commit 0fa5c8e88ef4d745de5e4e569a6af1d62d780a53
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 27 20:22:00 2012 +0100

    Removed duplication with rebase

commit 4e77f30afd2a85f63d822a7c12f8aff43b03ed8a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 27 19:41:06 2012 +0100

    fixed feature creating a user with person

commit 5cbc684e0a33f4f654cd9ac194570db0e31c6ad3
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 27 15:29:31 2012 +0100

    reverting (this was also ok)

commit 87f135fde8924be9fdee8f3b959882275a59b22b
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 27 15:27:28 2012 +0100

    small syntax change

commit e11e2b4a5f0b86ee64f198fd7784d51ef2d83c33
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 27 15:27:11 2012 +0100

    reverting (this was ok)

commit ab597531cefd8c2ce1e0065069a9e4874e8e49a1
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 27 14:56:59 2012 +0100

    creating a new user, the password will be crypted directly into the user as before_create callback

commit 3149e1353449127cf1a1bca9ec8f345fee1fea65
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 27 14:33:34 2012 +0100

    fixing uploaded_by

commit e4bb4b14463fdef42c037a9cd9be62fb49e05087
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 27 13:46:22 2012 +0100

    updated personas dump

commit cdf6967833af0bd9f0d3afaafd45f150a39a9d76
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 27 13:39:16 2012 +0100

    fixed all specs

commit 5bb6e713b2872ffaa8ac9de89a9bc909dcf19c9a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 27 13:19:12 2012 +0100

    fixed amdin meta context group specs

commit 5d836b95ac8b27eb3e1ee1d6f579565e0db3fc41
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 27 13:10:34 2012 +0100

    moved admin meta context group spec

commit eecfd2fa24c4abd0d8376f245d277c0d612bea16
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 27 12:32:03 2012 +0100

    updating JSErrorCollector (from https://github.com/mguillem/JSErrorCollector)

commit 20550693e9764a4ef2cadd51b7987f8038dce25a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 27 12:56:18 2012 +0100

    fixed permissions controller

commit 20f9f5ed185c679928a1949dbfd9bd33530d4d74
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 27 11:45:57 2012 +0100

    sort orders and scopes on active_admin

commit 111cf49c737e92ed258808dd0e2d45adb636bb2e
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 27 10:56:38 2012 +0100

    display uploaded_by and owner on the activities context (hardcoded)

commit 083718617f5202e3b37df37bbde049a196ac8141
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 27 09:10:48 2012 +0100

    back to rails 3.9

commit 49611ba811b53b2258e95790bba13986bce0304d
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 27 08:54:13 2012 +0100

    trying features with rails 3.8

commit 094eb0be2893864214f65d4a86286fa49b11acf0
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Mon Nov 26 18:00:59 2012 +0100

    reactivating show action, because referenced from associated rows

commit 8f79944ee203e7c0b21a6d00e28bbc7a1b2c4c41
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Mon Nov 26 17:57:02 2012 +0100

    active_admin: creating person's user and fixing tests

commit 7266e4e2ec12f8f5a5640460d2f54674b72f8869
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Mon Nov 26 15:16:47 2012 +0100

    [FIX CI] adapting tests to the new active_admin and using poltergeist tests instead of firefox

commit 00facd2401ad84d134fa7173f0e4b243bcac6d9b
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Mon Nov 26 15:01:19 2012 +0100

    set special media_sets on active_admin

commit 0da0765476afcafbfbde73a0c5a4e4490d9611e1
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Mon Nov 26 13:42:51 2012 +0100

    meta_context_group form on active_admin

commit 0a3b9e769609ac6501c271a5fc9e21770d3820b9
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 26 13:35:07 2012 +0100

    cleaned duplicates

commit d2878252daad4e91dfa0876d8492fd033b1f0ccc
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 26 13:34:24 2012 +0100

    renamed feature files

commit d0d7b2b6fcbc7bfeb1480df85982b8df58bcb514
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Mon Nov 26 13:32:27 2012 +0100

    meta_context form on active_admin

commit 8a8937feed21c1d7241ba59d7afd00197e0db6bc
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 26 13:28:21 2012 +0100

    finished admin person feature tests

commit 78b66b325382c23a4258c1ca3d1ea942fd7bf669
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 26 13:10:35 2012 +0100

    not using js for deleting people

commit 4db1cc49fb5ca65a1319aaf1eac97745e0e1732a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 26 13:09:29 2012 +0100

    Implemented delete person spec

commit 0233dcdf8894253431a995356dfdcd8ce6a63653
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Mon Nov 26 12:54:34 2012 +0100

    user group membership on active_admin

commit fad40b55b3328a37a4d9424c5248ebca868a2871
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 26 10:25:10 2012 +0100

    Implemented delete person

commit 79c1b3a0e4963707b3a97224e25b14bbf670ba53
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 26 10:06:14 2012 +0100

    Implemented  Changing MetaData to a person

commit 8d6e172092c57f3aab3b1325fec7c78d584ed3e8
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 26 09:45:57 2012 +0100

    Added class to meta_data transfer

commit e167ffd266e4329c8c0f2639c88715211441de49
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Sun Nov 25 23:18:41 2012 +0100

    reorder positions on active_admin

commit 9fb635f4ddacbbd8481635683e587466f68067d2
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Sat Nov 24 10:59:31 2012 +0100

    customizing active_admin crud actions

commit 007174777fbf535025ffa3e8eb0a8934b44ebfdf
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Fri Nov 23 19:57:14 2012 +0100

    ActiveAdmin: mapping and media_sets

commit 120145e913ab7f634db1fbcbedfd3e22ca473b67
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Fri Nov 23 15:28:21 2012 +0100

    adapting Admin::Setup controller and views (not active_admin)

commit 8934a338fbfe0e36828e5304743f279727555d13
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 15:18:33 2012 +0100

    Added new Relic Throughput to dashboard

commit f6b122d0341f612a971ec577d59e48543a05b7b7
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 15:09:26 2012 +0100

    Added NewRelic Monitoring  to the dashboard

commit c6b409fd9a6302d8b16c53d7ba7f614dd4ba03c7
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 15:09:06 2012 +0100

    Finished admin/meta_terms specs

commit c8febee13fb862cad2f5baeb7c43269075f6faf6
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 14:54:57 2012 +0100

    Added spec for meta_term keywords transfer

commit 142175f60a9a00bb76a9bddc23ef7637d403382b
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Fri Nov 23 14:41:29 2012 +0100

    fixing admin_user and devise dependency

commit af44bf4082e894feed83dbfff8590b3812606520
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Fri Nov 23 14:24:13 2012 +0100

    removing old admin panel completely

commit 5c2114227a2172619e1bf1f1baba333369a5d08d
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Fri Nov 23 14:16:04 2012 +0100

    (wip) more on active_admin

commit e202c8d0b5f2ab2ab6324f75bf1702e7dd21f222
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Fri Nov 23 13:26:54 2012 +0100

    optimizing performance checking whether a meta_term is in use

commit 1fc2083d8ddc7fc121bb6b02c073dbb0672a2be1
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Fri Nov 23 12:16:23 2012 +0100

    (wip) more active_admin and removing old admin javascript

commit 0fa91f295622a1f0c4f1d0cea7c8382307e886a0
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 10:58:27 2012 +0100

    Refactored scoped admin with queries

commit ca4bcbf3dab14bcaf4a5889b5d00048f7ed0163d
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 10:35:32 2012 +0100

    Fixed and improved with queries

commit cf83efdd344467d5ea56f432c6d5ce08a8f20ef4
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 10:21:58 2012 +0100

    Speced out transfering meta_data for meta_terms

commit 3304916edc30f44be5bfc2491febef7665d9e1cf
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 10:05:05 2012 +0100

    Fix admin/meta_term default sort order

commit 7484725429d3a925c0b4ad3e7c464b30b9fa3a06
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 10:03:58 2012 +0100

    More specs for amdin/people

commit 6370d5de4dde44f66c93193031b1d331ccc86c08
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 09:51:48 2012 +0100

    Fix admin/people

commit 7ac66e2090f5d27a91495343f540e64ea761f555
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Fri Nov 23 09:46:06 2012 +0100

    bundle to stable activeadmin gem

commit 52c04dccf40be690c21260f8571e5cb5ce8bdde5
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 23 08:40:18 2012 +0100

    Fixing person with meta_data scope

commit db90973d94330adb1494fe41bb84d50a35ef8889
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Thu Nov 22 17:55:56 2012 +0100

    (wip) more on active_admin:
    - show with list of nested resources
    - path for kaminari
    - menu

commit e4be60f1f364d69d2656be69352d6088247b5d82
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Thu Nov 22 09:35:11 2012 +0100

    ActiveAdmin settings: deactivating comments

commit 3616c5c62e139b60995014814d31194259c73f94
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Thu Nov 22 08:55:24 2012 +0100

    (re)upgrading to Rails 3.2.9 with fixed composite_primary_keys gem

commit b52d82b9e991baeb80c53c0d4ae962edd7a0111b
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Wed Nov 21 15:14:14 2012 +0100

    use clear instead of destroy_all on has_and_belongs_to_many association (apparently same behavior)

commit 4c6b9ec982f93a8e441d247f01edd2b208e9fa74
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 14:45:13 2012 +0100

    Admin people transfer spec is green

commit 38d46c08590f2347ab4b9e7a2345f01432b37007
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 14:37:21 2012 +0100

    Specing out ... wip

commit 3a99067ed2238643f36e63521755209347f69b1a
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Wed Nov 21 13:54:49 2012 +0100

    first active_admin spec

commit 7ed6e6bdbdd58462fd78251fe6aaa1d9bac1cc0d
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Wed Nov 21 13:54:45 2012 +0100

    removing old admin controllers

commit fe387321fcb43987010eb3a8fce1963833174dd9
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Wed Nov 21 12:22:36 2012 +0100

    downgrading to Rails 3.2.8 and reactivating composite_primary_keys gem

commit a198328bdb608eb1b0f78f970905abeb57a9f778
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 11:37:11 2012 +0100

    cleanup

commit b2a8fdc97e8d0d2b4ebc9050feafbf00738efcbf
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 11:35:22 2012 +0100

    Fix people scope with_meta_data

commit 35dbdc06ad81e60c22a8b3378a8025627f98ec5f
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 11:11:08 2012 +0100

    Fix transfer keywords when already present

commit cc7244493583c607a71afe2de2f8695783e9d805
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 10:58:25 2012 +0100

    Transfering keywords

commit 714d310b1cbf5cb95564e3661c597204469b0413
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 10:48:14 2012 +0100

    Adde scope for keywords in MetaTerms

commit 79ece60894d47810d8e6deae85469f6025b85ac5
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 10:46:28 2012 +0100

    Transfering meta_data between meta_terms

commit a9f04dd953aef0122d0c71297809f443c5938958
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 10:36:11 2012 +0100

    Added meta_data column and scope to admin/meta_terms

commit 999c1f6570bb2e5747a412f2e6c3e5e9865205ef
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 09:28:19 2012 +0100

    improved select

commit c973a9fceb1a72d901521f7cca3d2884e4f7e4e1
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 21 08:37:43 2012 +0100

    Fix moving meta_data to person

      ... even if it is already present in the receiver

commit 28c97ec3ab69e93936ad02e5d39ea8287ff4b9fc
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 20 15:37:00 2012 +0100

    cleanup

commit fa27a1bda3b8fbda52da7c6b19368455e8486b09
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 20 15:32:36 2012 +0100

    Implemented transfering meta_data for person

commit 76a08cbfee0b7774d3d92e7a375416f527c0957b
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 20 14:25:01 2012 +0100

    (wip) active_admin

commit 523b40e930fa9bd26058735ec36713b751f970fd
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 20 14:09:47 2012 +0100

    Added meta_data_count to admin/people

commit 71cbcd3486d2d6dc4ca831e23eddb808d9990d69
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 20 11:36:38 2012 +0100

    reactivating admin link on user bar and more on active_admin

commit 965b338d8192f71117d3e3fe21335294571e02b7
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 20 11:18:41 2012 +0100

    cleanup

commit 3a305c3333f5915505d816b1989ac58c76e1c5b4
Author: Thomas Schank <DrTom@schank.ch>
Date:   Tue Nov 20 10:51:27 2012 +0100

    Use our users and admins instead of devise

      for now, devise is still and so warden hooks into rack,
      dependency should be removed in active admin 0.6

commit cd9c37c48109cc30bc3a663511e610e5e38dc06b
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 20 10:09:16 2012 +0100

    still using will_paginate instead of kaminari (soft dependecy for active_admin)

commit f4648206f1f6591dd85690c28793a2a9ccf07869
Author: Franco Sellitto <franco.sellitto@zhdk.ch>
Date:   Tue Nov 20 09:39:57 2012 +0100

    exploration of activeadmin gem