Check that included files are readable, set a default timezone, and define the base path.
Added link to php fig, and fixed some typoes.
Set encoding to utf-8, added more config settings, and clean up some variables.