Added autocloseable support to ResultSetIterator
Comments and gradle tweeks