Updates gitignore
Makes all view templates inheret from base template which has flash messages
Fixes basedir