scripts: merge import_from_cadcdp into jsa_proc

Adds a new sub-command "import", so the command decorator needs
to handle function names with trailing underscores.