Adding support to create self closing Observables from Cursors

An optional overriden method allows a mapper function to create
instances of a type from the Cursor as the Observable iterates
over it.

Signed-off-by: David Marques <dpsmarques@gmail.com>
There should definitely be testing around making sure the cursor is actually closed when the stream terminates.