Rework nr-cli

- better componentisation
- add 'search' option to look for npm modules
- add 'target' option to point at non-default installs
Add cli tests