Merge branch 'unit-test-jdk7' of https://github.com/rankinc/btm into unit-test-jdk7
Fix references to XA states in comments, and remove unused import.
More final variables and @Override annotations.
Merge commit 'f01f63fda8a6e4579f4d874e605094ad99034137' into tidy-up-jdk6
Merge commit '7811d323a6ee61fabf9dcf2a30359b7556620e86' into tidy-up-jdk6
Add generic types to List and Iterator.