Moved database IO methods to Transaction and optimizations

DB is no longer sticked to it's parent transaction.
Removed Lazy from MarshalValueStructure.
Added some tests.

Closes #17
fixed possible StackOverflowException in Dispose(bool)
Merge pull request #18 from ilyalukyanov/DBIOToTransaction

Reworked API of data IO methods