Made a bunch of cross browser fixes. Added preserveAspectRatio etc.

Note: This commit includes a quick fix i made to output sass variables easily. When choosing to Base64 encode elements you will, at the moment, get sass padded json.