Fix codification issues and zcml permissions