Link to edit user information if permissions

- Display "Click here to edit this information!" if you have permissions
- Made access level code a little more general (separate function to check
  permissions, which the login decorator now uses).
- New constants.py file to store constants (e.g. AL_EDIT_PAGE, to store the
  necessary access level to edit a page).