Move impor to top of file
Missing gettext import
Prevent double key
Looks like ContentType produces lower case names
Fix permission name
Add tescase for ACL