Added context as a template variable rather than using view.context all the time.
Renamed outer_view to outer in LayoutView and added inner attribute.
Added support for transactions in core and Sqlite driver.
Added transaction support to ModelMapper.
Removed autocommit argument (now default unless a transaction is started) and fixed sqlite isolation level.
Fixed root transactions and missing import.