Project improvement

* jpql parser factored out.
* checkstyle & findbug initial setup
* some minor fixex