Documents ResourceIterator.close() in the core API tutorial & related fixes

o Adds close() example to schema indexing tutorial
o Adds note on how to handle ResouceIter*
o Fix: Makes ROProxy use ResourceIter*
o Fix: Makes ha/lock/LockableNode use ResourceIter*