jasmine integration improvements

* jasmine reporter is now displayed before logger
* document serialization now handles relative urls correctly. Reading link.href was a mistake because browsers like chrome replace relative urls with absolute urls making link.href.indexOf('/') test returning incorrect result. I'm using html attributes now to read the value of href.