Detect unregistered namespace prefixes

...and provide useful error messages in the UI.

Resolves: https://www.pivotaltracker.com/story/show/61500542