added link to homepage on 404errorpage

This is a pull request for issue #295 ( add home link to error pages (e.g. 404)).
Please note that .gitignore was changed.
Please also note that config file changes were done in order to replicate error in development mode.