Coalesce shorthand classes into attributes

Shorthand classes are prepended to attribute if provided.

- Addresses machty/emblem.js#78