[IMP] status of contract on task, issue and sale order

- Task: https://www.odoo.com/web#id=9258&view_type=form&model=project.task&menu_id=3942&action=327
- Pad: https://pad.odoo.com/p/r.6XynUXUW6cac35nF
I agree with gan. Somehow you have to map the selection keys to bootstrap classes. Maybe you could have a standard mapping in the widget (because we often use the same keys in state fields)
 - draft -> info
 - open -> success
 - closed -> danger
 - pending -> danger
 - canceled -> warning
 - other: sefault

One thing: please add an internal dict in options to store the labels. Each kind of options has to be a different key in the options dict. It should be
options = {
 'mapping': { ... }
}