Fixes #1132; Fix PHP 5.4 strict mode errors; Fix field array issues in Pods value handler