merge custom webview to OSX
update ios related file
set controller to nil after release
Merge pull request #98 from MSOpenTech/OSXCustomView

Apply custom webview changes to OSX branch