Test environment for integration tests

Added test IMDB and default values for it.
Authentication WIP and integration tests

Added authentication infrastructure, added integration tests for Posts DAL.
Merge pull request #16 from AlexWyrm/master

Test environment for integration tests.
Added authentication infrastructure (though I have no idea why it's not working properly) and integration tests for Post DAL (though I have no idea why shouldCreatePost() is throwing error).
Testing database fix

Created JDBC initialization script
Changed test DB to h2
Improved code structure

Moved logic from DAL to services

Split tests for DAL and service

Reorganized project structure

Removed duplication of code

Removed some technical debt
Fixed authentication

Created test pages /user and /admin for testing authentication
Added Cobertura plugin
Merge pull request #17 from AlexWyrm/master

Database, authentication and logic fixes
    Fixed few style problems
    Made Commentary and Post extend one abstract class (to remove duplicate code)
    Fixed database problems
    Added database initialization script
    Fixed integration tests problems
    Reorganized project structure
Also temporarily set DB for jetty to IMDB (testing DB) for convenience.
Merge remote-tracking branch 'upstream/master'
docs