Use warning module for context warning instead of invoking console.warn and monitorCodeUse directly.  Depends on https://phabricator.fb.com/D1695279