Return a integer JSON type from "*.edit" endpoints for the object ID
Summary: See PHI425. See T12678. This should be an integer, but may be a string.
Test Plan: Called differential.revision.edit, observed integer in result instead of string.
Differential Revision: https://secure.phabricator.com/D19186