Add ACL for repositories, fixes #4280

Squashed commit of the following:

commit 9f0aa9555843e064d3547cc9b0f406d755ff1fdb
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Thu Aug 15 01:39:54 2013 +0200

    Show log error instead of throw an exception

commit 071a3129caad3575301c964a3adb20fa7fcc2ac0
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Thu Aug 15 00:40:49 2013 +0200

    Verify that users and groups menus exist

    If not, throw a exception to show the problem when
    doing the migration

commit 8afba13898071f5261bacebf6187fbc2b43062d0
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Aug 14 23:58:57 2013 +0200

    Cosmetic changes

commit 87afcd1384ae483c3c819545a0679c1565e7b7e9
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Fri Aug 2 01:54:35 2013 +0200

    Changes in the migration script.

    Use QubitPdo to do the update, get users and groups
    menu ids from the database.

commit ecc57c70789a6b5668f2073d8125a7e596ac02ef
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Thu Aug 1 22:46:43 2013 +0200

    Rely in ACL for repositories.

    Use QubitAcl isAllowed method to check repository's permissions,
    add checkers in a few classes, filter repositories in list class.

commit 01929860a8f316814b10214408b8876035eac147
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Thu Aug 1 20:39:34 2013 +0200

    Change default process form method in aclGroup.

    Allows assign permissions for the repositories.

commit d44fe70328dacd38c3cf5f93dca11e596a7d8b88
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Thu Aug 1 20:21:45 2013 +0200

    Add classes to manage repository's permissions.

    Add edit and index classes for repository's permissions
    for users and groups. Add view.yml elements for the new clases.

commit de1667db12c4cba740b667563dba199a69f7927d
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Jul 31 16:52:23 2013 +0200

    Add menu elements for repository permissions.

    Added to the migration script ant the install process.

commit 5a60e23bd67a65372194ff264edb6b9c9d4e07b6
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Jul 31 15:07:16 2013 +0200

    Add migration script.

    Creates a root repository, add it as a parent
    for all the existing repositories.

commit 3b66e5dfde9b089f87705ad55ee3043e6765c827
Author: José Raddaoui Marín <raddaouimarin@gmail.com>
Date:   Wed Jul 31 15:02:20 2013 +0200

    Add root repository.

    Create a root repository in the install process,
    set parent id for repositories.