returning a promise

which contains the config details of the created app/component
removing q
tweeking the tests to use tmp folder
mocking the create instead