added function drupalgap_file_exist and some changes to drupalgap_settin...

...gs_load

not sure if it should go into this branch. I saw you added include files in the theme branch and i thought drupalgap_file_exists should probably live in such an include file.