added function drupalgap_file_exist and some changes to drupalgap_settings_load