spec: Add method to automatically expand upstream definitions
The new function will allow an unmodified source upstream definition
to be macro-expanded for build functionality to reveal the correct
and full value, supporting "name", "version" and "release" keys
as set in the stone.yml itself.
Signed-off-by: Ikey Doherty <email@example.com>