assigning tx id after lock
fixed issue with release PagerState during async writing to data file, which was causing exceptions in other write transactions
Merge branch 'voron' of https://github.com/ayende/raven.voron into voron