Disk cache for webview

Add disk cache to improve performance of webview when
accessing remote content
Add template.html to project
Make math expression support optional

* add insert point to header of html template
* add new menu extras and math support action to main menu
* make math expression support optional