ISPN-4325 Change CloseableIterable to use AutoCloseable instead of
Closeable

* Changed CloseableIterable to use AutoCloseable
* Changed CloseableIterator to use AutoCloseable