Run table rebuild in one transaction
Support defaults in table schema
Merge pull request #6 from ROMB/Update-fixes

Fixes for sqlite table rebuild