Fixed bug in editing group permissions for page
Fixed migration to add foreign keys to permissions tables (tables weren't innodb + wrong data types on foreign key columns)
Merge branch 'master' into v2.1