Add namespace support to previous commit.

And print better errors.
[auto] Merge from Compiler

    • #71b32cb — Add namespace support to previous commit. (Ivan Enderlin, 2013-06-25)

---

Merge remote branch 'library-compiler/master'