Be strict in checking null !== $params->having
Use $field_type instead of calling pods_v
Change expires time and add todo
Simplify logic when creating new PodsAPI