Added better error handling for Erubis syntax errors.
Added the path accessor and set it in the constructor.
More error handling improvements.