Fix ie10 rendering of card flip

IE10 [does not follow](http://stackoverflow.com/questions/13474210/css3-3d-flip-animation-ie10-transform-origin-preserve-3d-workaround/14327666#14327666) the `preserve-3d` directive, so we must do some gnarly hacking to make the back flip look good.

In addition, we modularize the browser fix code.