Added 'modules_path' to drupalgap.settings. Removed drupalgap core modules from default.index.html and into drupalgap.js. Added drupalgap.modules.custom to default.index.html so users can specify custom modules. Alphabetically organized the function names in drupalgap.js. Improved the drupalgap_chain_callbacks function to chain all the variables in options set 2, onto the new options set. Moved entity data assembly functions into their corresponding modules. Took the load modules chunk of code out of drupalgap_deviceready and made it into drupalgap_modules_load(). Added drupalgap_module_invoke_all so hooks are now possible, sweet! Added hook_device_online(), hook_device_offine() and hook_device_connected(). Added drupalgap_get_path(), equivalent to drupal_get_path(). Added user #1 as always having access during drupalgap_user_access calls. Moved service resource extract results function to services module. Added synchronous calling to API. Moved API options to API module.