KIJIMR-2. Consolidated build configuration files among submodules

Tagging @kryzthov Changes ideally should be made in root pom, but this is just an online of what the structure should look like.