2.1 release tests

Add a Session.getState() test and remove the duplicate querybuilder test. 

(imports were rearranged automatically to fit suggested java-driver import order.)