Initial implementation

The module will be used by `Workspace.start` - see https://github.com/strongloop/loopback-workspace/pull/147

/to @ritch please review
Good catch, @ritch and @sam-github. I'll fix it.