Extended 'ajv rename'.

Script now allows the renaming of classes and modules even when a test/
directory is not present.