Make sure versions are dumped in order

There is not any guarantees that versions comes in the same order they
are inserted without ordering them explicitely.
Merge pull request #277 from hiukkanen/master

Migrated versions should be dumped in order
Add testcase #275
always write serialized LOB columns #275
Merge pull request #278 from yahonda/issue275_master

Address #275
Merge branch 'master' of git://github.com/rsim/oracle-enhanced