Changed drupalgap_render_region() to render and links attached to a region.
Added drupalgap_menus_load_convert_menu_link_to_link_json(). Changed drupalgap_get_menu_link_router_path() to add any menu link items that have a 'region' to the region's link array. Now drupalgap_get_menu_link_router_path() uses drupalgap_menus_load_convert_menu_link_to_link_json() when pushing links onto menu links or region links.
Adjusted theme() to look for variables.options.attributes in case variables.attributes is empty, before creating an empty JSON object as a fall back value for the attributes.
Added skeleton function for hook_device_online().