OP-338 Renaming the hasPermission() helper function to be hasCmsPermission() to avoid ambiguity with website permissioning
OP-338 adding a hasWebsitePermission() helper
OP-338 Making use of the new hasWebsitePermission() helper method
OP-338 Setting a remember me token and cookie when asked to in the login method
OP-338 Auto logging in a user based on saved remember me cookie
OP-338 Refactoring the way in which the login cookie is stored
OP-338 Making cookie encryption default and use AES with a randomly generated token per application