Alternative to Python's module `cgitb` with template inspired by http://nette.org/ and https://www.djangoproject.com/