Fixed id resolution bugs and removed the concept of a "resolved" ID.

Top-level IDs could resolve to the wrong module in some cases.
404 errors could be seen in the browser after compilation if a top-level id was required and not found in the first top-level path.
Updated the version number.