Fixed bug in which OrientDB connections weren't being released from the connection pool.
Fixed various areas of code that weren't releasing connections at all.
Made SearchResults classes into single generic class.