Spring security integration

This pull request includes changes according with tasks:
- Integrate Spring Framework into the project
- Migrate JSPs to Spring MVC and Tiles
- Migrate authentication mechanism to Spring Security