Fixed a bug in the adoption agency algorithm
Refactored adoption agency algorithm
Added more tests (300 is a nice number)
Fixed a bug in the tokenization.
Fixed CData NULL chars in foreign content.
Added more tests.