Merge pull request #23 from rundis/gradle-wrapper

Introducing Gradle wrapper
added server-based integration tests
fixed a test failure (dont use identityRepository)
Merge branch integration-test for #20