Motif backwards compatibility

Added support for the old 'appNamespace' property which was renamed to 'requirePrefix' since otherwise it prevents old motifs from being imported.