Look up schema URIs regardless of whether they were suffixed with '#'

This is causing some occasional problems where schemas are referenced with a
trailing `#` but didn't declare themselves with one, or vice versa.

Fixes #19.

/cc @geemus