Adding methods that allows to set range of unmanaged bits
Tests for setting range of bits
Better buffer recovering after aborted transaction. Also recovering buffers when storage starts by copying the entire clean buffer.