Added a logo variable to drupalgap.settings. Added theme_path variable to the drupalgap JSON object, it is set by drupalgap_theme_load(). Added check for theme's page.tpl.html file in drupalgap_goto(). Added protection for undefined blocks/regions to drupalgap_render_region() if settings.js doesn't have any defined. Implemented path_to_theme(). Adjusted theme_image() to exclude call to drupalgap_image_path() so local images can be rendered. Changed placeholder template syntax in page.tpl.html. Added a 'logo' system block that renders drupalgap.settings.logo (if it exists) as a link to the app's front page.