+ added possibilty to produce nightly build, snapshots and releases
~ rewritten build script
~ rewritten checkstyle rules
? fixed checkstyle
~ changed style to match checkstyle rules