Added support for different urls for svg and png. Returning html file with png when requested.
Removed the html around the png response to return simply the base64 data.
Using packed version of mathjax.
Added a bit of exception handling to handle bad input.
Fixed broken condition.
Added Missing semicolon.
Freed up memory. Removed some unnecessary logs.
Merge pull request #1 from quipper/feature/png-support

Feature/png support