Update for use with rust-0.11-nightly-2014-07-01

Use the new iterator semantics.
Remove check for surrogate codepoints as they are no longer valid chars.
Add debug printing to the testcases.
Add a Makefile.