MMLC-92 fix png reponse
MMLC-101 Save pngs as image elements to stay consistent with the way that html5 equations are stored.
Merge pull request #51 from meghanlarson/master

Fixes to png handling