[DEVEXP-346] Allow docker type build from a repo with additional directory

This is the initial part of the work behind adding the additional directory to docker builds, especially this commit covers restructuring the `BuildInput` object splitting the docker related and STI related stuff into sub-objects. 
Still to do: 
- [x] docs
- [x] build image
Makes sense


> On Oct 14, 2014, at 11:25 AM, Maciej Szulik <notifications@github.com> wrote:
> 
> In images/builder/docker/docker-builder/build.sh:
> 
> >      exit 1
> >    fi
> >  fi
> >  
> > -docker build --rm -t $TAG $DOCKER_CONTEXT_URL
> @csrwng I'll change than to your proposal, frankly said I was thinking about doing that in the beginning but then I've decided to stick with the git solution. Although one notice, we'll go with default only when no dir nor the branch is specified, to be clear. I'll prepare update tomorrow, if you don't have any objections @smarterclayton.
> 
> —
> Reply to this email directly or view it on GitHub.