This commit patches the client and server APIs to support passing the
`--privileged` flag as an option to a docker build context. This causes all
commands to be executed inside privileged containers, which opens the possibility
of handling custom mounts and other operations during build time.
This would close #1916, which requests this feature.
Signed-off-by: Will Rouesnel <email@example.com>