Fixed hasOne() arguments to be more reasonable.  Default local key is the same as fkey new.
Small spelling changes.
Fix loadGroups table names.
Dataitem: clean up double sort/orderBy functions.
Mysql: clean up half-finished logging code.
Change return type of whoCanHandle to always return callable array.
Merge branch 'master' into metrofw
Merge branch 'metrofw' into metroadmin