Fixed variable typo.
Removed node_add_page_pageshow() since content_types_user_permissions is now available in Drupal.user after a system connect.
Added services_get_resource_function_for_entity(). Changed drupalgap_service_resource_extract_results() to place content_types_user_permissions on the options.data.user so it will get appended to Drupal.user by the jDrupal system connect success.