Changed drupalgap_get_form() to attach the form's arguments to form.arguments and then save the form JSON to local storage, keyed by the form id. Added drupalgap_form_id_local_storage_key(). Changed _drupalgap_form_submit() to load the form JSON from local storage.
Changed drupalgap_mvc_init() to attach an id, module, and type variables to the model JSON object, and create an empty collection for that models items. Changed drupalgap_mvc_model_load() to set its form elements to model.fields. Added basics to item_save() and changed drupalgap_mvc_model_create_form_submit() to send along the form state values to item_save().