Expand shorthands

I copied the code from the old polyfill. I don't know what the SVG_NS thing is about - do we need that?

I've only tested one shorthand. Do we want more tests?

@shans @dstockwell