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
Moved logic from DAL to services
Split tests for DAL and service
Reorganized project structure
Removed duplication of code

Removed some technical debt