Added option to remove empty attributes (default on)

+ Added 'removeEmptyAttributes' property to options (default true -
on), which will remove any attribute which does not have a value
(equals an empty string).
- removed the failsafe which would fill the attribute with the
attribute name, it will now render an empty attribute unless these are
removed (which is the default behaviour)