Fixed a bug in the NodeImporter class that caused an exception if the
source and target require prefixes were the same, plus added support for
adding a .js-style file if necesarry when using the 'copy-bladeset'
command (fixing #733).