Fix XDR proticol bug

Replace endpoint protocol with protocol used by the page
XDR cannot post to https from a page running on http
Remove stacktrace.js
Fix tests
Remove getNormalizedStacktrace()
Fix test (Travis CI Error)
Merge pull request #61 from mnmtanish/normalize-stack

Remove stacktrace.js
Merge pull request #62 from mnmtanish/fix-xdr-protocol-bug

Fix XDR protocol bug
tracking errors only if Kadira is connected
do not send errors if the error count is 0