internal/v4: resolve ids

This allows all charm store paths to contain charm URLs that are
not fully specified.
Add a test with "nothing to expand" like:
inStore: []string{"cs:precise/wordpress-23", "cs:trusty/wordpress-24", "cs:foo/bar-434"}
expand: "precise/wordpress-23"
expect: []string{"cs:precise/wordpress-23"}