Added default base path to be the realpath of the directory of Epi.php file

I added a sensible default for 'base' when 'base' is undefined.