Fix some issues with WeeklyWorkLoad
Generalized processes to also work for international students
New Feature: Thesis library sites are no longer CMS-based

  * The old ones still work, but this is now the official
    mechanism
  * Updated the library link to the new path
Re-styled not found and unauthorized pages
Bumped version for release of 3.9.0
Merge branch 'release/3.9.0' into develop
Bumped version for development after release.
Minor Change: RoleGroup now stores the role, not the RoleType
Merge pull request #585 from andre-nunes/ticket/#414710

Fix some issues with WeeklyWorkLoad
Skip registration protocol init if the migration has already run.
Bug Fix: Fixed slot name after registration protocol refactor.
Fixed compilation issue with the latest version of Java
Fixed validation of input in generic application form
Added validation for portuguese ID numbers and modified address field to a text box
Disabled the possibility of modifying the data after the period end.
Implemented removal of letters of recommendation.
Letters of recommendation cannot be requested to the candidate e-mail.
Implemented submission of generic applications
Fixed bug in the validation of the address field
Updated bennu to 3.3.1. Removed FileDownloadServlet that is now part of bennu. Removed API from FenixPersistentGroup now provided by bennu since v3.3.0, the object iteself can be removed on the next major
User accounts and login periods now fall back to bennu implementation
Import from portuguese citizen ID card collects given and family names separated, also this was moved out and deprecated
Added endpoint for photo download with user readable path
Updated UserProfile bootstrap to new photo url
Deprecated custom exception handlers, added configuration to disable them
Using Bennu for Login

  * Removed references to old login/logout URLs
  * Deleted loginPage.jsp and privado/, added filter-based
    redirects for both