Per Erikh's suggestion at: https://github.com/docker/docker/pull/9989#issuecomment-69832009 this PR will trim spaces in the parser to ensure that the user gets the same results irrespetive of leading/trailing spaces. Per @tiborvass's suggestion I added a test to make sure spaces in quotes are not touched. Signed-off-by: Doug Davis <dug@us.ibm.com> Upstream-commit: 3859c485317a395de1e8eb48270d0e3b1207a204 Component: engine