Add PMD enforcement and fix /retrieve/scoring

- PMD is now required to be perfect to compile application.
- Fix PMD warnings.
- Stupidly removed LeagueDAO.getLeague.
- Use a LeagueKey object to retrieve the League instead of its
properties.