Added maven profiles unittests and integrationtests to server pom.

Moving all common test utils to common directory. Also cleaned up test/common directory.