Support :subpackage shorthand syntax. Fixes #315.

This works for dependencies, as well as for referencing sub packages on the command line.