[DO NOT MERGE] Calculate SDF from glyph outlines

SLOW SLOW SLOW.
Desperately needs a review by somebody more familiar with C++isms than myself.
Ported from https://github.com/mapbox/fontnik/blob/master/lib/sdf.js