pep8 and template exceptions

- fix pep8 violations
- raise a more helpful exception when have problems rendering templates
- give more helpful exit message for frycooker when exception raised