Refactor dropdown to use props and more events.

Test Plan:
Loaded a dropdown widget in test.html and tried all
interactions. Also view the JSON, and saw that it worked in
testrender.html.

Reviewers: alpert

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