Add missing primitive types to webhook payload validation.

Review Request #10235 — Created Oct. 17, 2018 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
bced97f...

Reviewers

Depending on the database backend used, we ended up with long instead
of int values in webhook payloads. This wasn't explicitly supported,
and ended up breaking for some users. This change addresses this and
further future-proofs by adding the remaining long and float types
to the validation.

Unit tests pass.