Return promise

Added a test and some code to return promises containing the created components details for caller apps, in case minit normalizes the component name so that it differes from what the caller requested.