Support double namespace support.

NDBX files can now have two implementations of the same function
namespace. The first one is chosen. This is useful for libraries that
have both a Java / Clojure / Python and JavaScript version. The
JavaScript version is then only used for export.