Added support for sqlite
Added lock/unlock methods
Unset a reference variable that was used in the loop
Removed constants that are not defined
These were part of the testing code but weren't found to be much use, so were not included here
Added transaction methods
Added triggers
Allow callbacks to be registered to be called following insert/update/delete statements