double equal support

fixes #26
added a special case to not output ';' or ':' if not necessary
fixed handling of attrs with both .class and [object ref]