Removed the rendering of form elements in drupalgap_form_render() and replaced it with a call to the new function _drupalgap_form_render_elements(). Added empty function for _drupalgap_form_render_element().