Convert CAPA inputtype statuses from strings to objects, in order to
simplify css class management and internationalization of status strings
(potentially) displayed to the user.
Merge pull request #3002 from edx/dcs/status-object

Convert CAPA inputtype statuses from strings to objects,