Update: Add new-cap exception configurations. (Fixes #1487)
 - `newCapsAllowed`
 - `nonNewCapsAllowed`
Merge pull request #1553 from ljharb/new_cap_configurable

Enhancement: Add new-cap exception configurations. (Closes #1487)