sqlite 'hacked' to support mv
fixes some naming errors in the query criteria
fixes namespace error in sqla
default json encoder now serializes datetimes in iso format