Convert styles to inline styles and make them play nice with emails.

This module sole usage is to provide the same parsing functionality as in
the web editor but for the templates imported directly in database.
