Fixed a bug with namespaces.

Previously, doing something like `virgilio.namespace$('foo.foo')` would only
create a single namespace called foo, because the second foo would return the
already created first foo. Now, a chain of namespaces like the one above will
require each element in the chain to be a child of the previous element.