issues/144 move readGlyph to an object model so that the error callback is always available.

The lines at the end of readGlyph are not exactly what was mentioned on IRC. I had trouble running those lines, whereas the code here runs ok. Suggestions and feedback welcome.

https://github.com/metapolator/metapolator/issues/144