Use subdirectory as cwd if specified
Fix tests for subdirectory install

- make assert_install test clearer
- Add option allowing for testing install from an editable subdirectory
Merge pull request #1601 from Ivoz/editablesubdir

Use subdirectory as cwd if specified