Added support for savepoints in SQLite.
Implemented an 'atomic' decorator and context manager.

Currently it only works in autocommit mode.
Made atomic usable inside the legacy transaction management.