Mac OSX and WebView fixes

I've been trying to use the WebView example on a Mac (10.8.3) and encountered some areas it refused to compile.  I've fixed these:
* reinterpret_cast instead of reinterpreted_cast.  I couldn't find any precedent for this.
* Clang moaning about unused variables.
* Javascript headers not matching the current system.
* Moved implementation into C++ files instead of headers to help track down the compile errors.

For the WebView:
* Added both types of Core Animation rendering.
* Added events for navigation and title changes.
* Made a bit more generic in places as it was assuming Core Graphics.

I've verified this with a plugin on 32-bit and 64-bit using Core Graphics, Core Animation and Invalidating Core Animation (also using different browsers).  This is only on the Mac though, but it should not have effected any other platforms.