set readyState and propagate readyStateChange event
Merge pull request #10 from aslakhellesoy/readyStateChange

set readyState and propagate readyStateChange event