Fixed default database driver name.
LActiveRecord initial implementation and a large number of core bug fixes