added virtualenv directory to gitignore
added custom error page handlers