Fix due/start date setting in edit_subsection

Previously didn't go thru xblock fields and thus avoided type checking during save. This change uses introspection to cast the values to the intended field types. It also adds errors to Date if the types don't make sense.

@wedaly @cdodge please review or fwd to someone else