fix bug 1084743
more tests
remove import Constantness in TScalar.java
merge oontvoo: fix assertion error in boolean expression (bug 1084743)

https://code.launchpad.net/~oontvoo/akiban-server/assertion-error-bug1084743/+merge/157504