Document src/hint-editor.jsx

Test Plan:
check test.html still renders without any js errors
Comment addition + trivial refactor

Reviewers: joel

Reviewed By: joel

CC: alpert

Differential Revision: http://phabricator.khanacademy.org/D4692