Catch errors on window.onerror and send them to kadira
Check if previous window.onerror exists and is a function
Merge branch 'window-onerror' of https://github.com/mnmtanish/kadira into mnmtanish-window-onerror
changes client side file organization
Merge branch 'mnmtanish-window-onerror' into error-tracking