Fix UnicodeError when supplying --global-template with UTF8 string

- write CSS in an UTF-8 file
- show traceback of "Unknown Errors" when in debug mode
Merge branch 'master' of https://github.com/bf/glue into bf-master
Make glue use utf-8 as default encoding