Add spring security configuration

- add basic form based authentication
- add redirection to page based on user role
- add authentication test cases
- add resourceNotFound page for 404 error
- add uncaughtException page for exceptions