Check that param is null

`! empty()` means required, supplied arguments are marked as missing
Formatting
Merge pull request #678 from WP-API/required-fixes

Check that param is null
Merge branch 'develop' into end-to-end-terms