Fail dockerfile or start.sh if puppet exits 1

Previous tests only verified exit code is less than 4,
but sometimes error 1 can occur for certain cases,
including parse failure or template issues.

Change-Id: I226f1147f8c62c5be7fc7cedb01645770939a7d9
Partial-Bug: #1392698
Merge "Fail dockerfile or start.sh if puppet exits 1"