Merge branch 'fix_calc_in_repeat_groups' into joomla3_pending
Merge branch 'fix_id_field_type' into joomla3_pending
Add argument to pass all elements.

Adds an argument to the validate method to pass all field data.
Fix php validation plugin to use placeholders
Address Hugh's review comments