Added mqtt broker commands and ping/pong

Added and fixed unit tests.
Added --rm flag to docker so that it disposes of container after build.