2.3.x

Did some refinement on TransferQueue tool.

* Print of processed message count started at 1 and didn't give a total count
* a little minor code reformat (blank lines, etc.)
* resource closing (sessions, etc.) even in case of an exception thrown
* locator creation consistent "withoutHA"
* consumer creation unconditionally, as "null" for filter is delegated internally anyway
* session creation using username and password, if supplied using system properties

Maybe it's of interest.