Modified ActiveRecord::retrieveByPK().

Fixed error which occured when entry with given key wasn't found. Now the method returns null in such cases.
Added method ActiveRecord::toArray().
Added method ActiveRecord::query().
Added version number.