Features/locale acls

Bug fix: [yes]
Feature addition: [yes]
Backwards compatibility break: [no]
Unit test passes: [yes]
Behat scenarios passes: [??] (see pr-behat #103)
Checkstyle issues: [no]
Fixes the following jira: 


Contains many fixes concerning ACLs, and new extensibility points