build cleanup

A series of changes which:
- use -testpath
- clean up javac compiler warnings
- break up bnd project into a set of projects
and other minor changes