refactor code ,remove QueryDefinition.setAutoBinding(false) call

Signed-off-by: Carl Thronson <cthronson@actuate.com>