Merge pull request #27 from spderosso/master

First cut at SOP relaxations
Fixed a minor bug in chapter.md
Changes to the model.

- fixed bug in postmessage
- more consistent use of Origin
- s/url2origin/origin
- other misc fixes