#100. Added entity_load(), entity_local_storage_key() and comment_load(). Changed node_load(), user_load(), taxonomy_term_load(), taxonomy_vocabulary_load() to use entity_load(). Added file.inc.js and implemented file_load(). Changed is_int() to return true if the input is an integer in string form.
#100. Added comments for entity_local_storage_key() and started on entity_save().
Merge branch '7.x-1.x-alpha-issue-100' of github.com:signalpoint/DrupalGap into 7.x-1.x-alpha-issue-100
Fixed #101. #89 may now be fixed as well, needs more testing to confirm. Added drupalgap.pages and modified drupalgap_add_page_to_dom() to add the page_id to drupalgap.pages. Added drupalgap_remove_pages_from_dom(). Changed drupalgap_goto() to watch out for the reloadPage option. Changed drupalgap_goto_generate_page_and_go() to have both of the possible changePage calls pass along any options that were sent initially to drupalgap_goto(). Changed drupalgap.services.user login and logout to call drupalgap_remove_pages_from_dom() on sucess. Changed the user_logout() page callback to return some basic html then modified its hook_menu entry to use a pagechange event handler that will do the actual logout call.
Merge branch '7.x-1.x-alpha-issue-100' of github.com:signalpoint/DrupalGap into 7.x-1.x-alpha-issue-100
Fixed #100. Changed drupalgap_prepare_argument_entities() to ask entity_load() for a reset if we're on an entity edit page. Changed entity_load() to accept options.reset which will force a reload on an entity, instead of attempting to load it from local storage. Changed drupalgap_entity_form_submit() to remove the entity from local storage before calling the entity update service resource. Changed all the code entity *_load() functions to accept options as a JSON object and then pass it along to entity_load(). Changed all of the core entity delete resource calls to remove the entity from local storage before calling the api.
Fixed merge conflict in common.inc.js