Modified Jade dialect and fixed util

The Jade dialect now properly outputs the id and classes of an HTML tag.

The utility function isEmptyText now properly returns true if the text
is empty and not only spaces