Small apsw fixes.
Test transactions more thoroughly.
Document weird sqlite savepoint behavior in test-case.