First draft of having more typed setters
Many Java 1.6 -> 1.7 improvements.
First set of tests for the Cast mechanism.
Various small fixes.