Mimetex upgrade.

Made Mimetex render on the device.
added it to the main project, to the equation editor.