Commit main part of jnsi printing.

Still errors on ol3. Also enum types and inner classes are not correctly supported yet. In general some parts need refactoring, but first trying to get it working.