Optimize the construction of the source-destination map in ST_ShortestPathLength

* Close the ResultSet
* Select only columns SOURCE, DESTINATION
Use TableLocation.quoteIdentifier in order to avoid problems with column names the use reserved keywords. You can define isH2 arguments to take care of db low-up case mess.