Enable localStorage API in WebView

Use the undocumented private API of WebPreferences to enable persistent
localStorage support in the WebView instances used to display log lines. This
allows javascript extensions to store data that will persist across Textual
restarts.

According to self reported results posted on StackOverflow Apple has accepted
applications using these same API calls for publication via the AppStore, but
I can make no personal guarantees that this is correct. If Apple will not
allow it it would still be nice to include this small patch via a #define that
could be enabled when compiling locally. Having the ability to store data via
javascript will enable a large number of advanced scripting possibilities such
as complex highlighting and persistent nick colorization.
Merges bd808-feature/localstorage
Merge branch 'bd808-feature/localstorage'