Limit choices when choosing a subproject.

Fix #341

Valid choices are the subprojects whose source directories
(including the sources of dependencies) contain the current buffer.
Merge pull request #430 from edani/subproject

Limit choices when choosing a subproject.