Add fetch method and oriented cursor implementation.

See: https://github.com/hoaproject/Database/pull/4