Allow running Geb tests from IDE
fix functional test
add README.md file for functional tests
prevent NPE
fix NPE in test
fix db config
move integration tests to separate project
fix integration tests