Fixes for Issues #6 and #7

In this pull-request:

* `npm install` does not break on fresh clone (@8943e0f)
* normalize IDs when id is a URI and contains a trailing "#" character (issue #6)
* allow anonymous schemas with absolute self references to work (issue #7)