SenchaPHP microORM - Fixing some coding errors and teaching the orm to be smart.