Add parse_widget_id() helper method to PHP from JS
Simplify direct widget instance model updates

Instead of passing a JSON-encoded instance_override POST var, populate
the Ajax POST vars with the vars as if they were coming from the
.widget-content inputs

Account for case were widget_number is 0