switched build system to gradle, layout changes

project is now laid out in a maven style, with src/main/java,
src/main/resources, etc

added default tasks of "clean","build" and "applicaiton" to buildfile, to help CI integration

jenkins needs a default task to make gradle execution easy

removed an internal com.sum api that isn't present in whatever JDK ships with CentOS, that caused a compilation failure on the tests

this "test" doesn't actually work anyways (passes a null thin client to BitmapEncoder that then tries to use it, throwing an NPE), so probably a candidate for removal in the near future

moved resources (images and fonts) to their "proper" place and fixed references to them in the code