Base image off of salt-master-base image

The shared parts between master and shell were extracted into a base image. The
shell adds sshd and exposes the respective port.