Fixed precedence issue, implemented origin asterisk.
Changed to match CORS 6.2.

Implemented steps 1 and 2.
Added steps 3-6.
Finished steps 6-10. and cleaned up logic.
Added test for Allow-Origin, and cleaned up a bit.
Added two more tests, they all fail.