fix(controller): validate app structure values

This guards against `deis ps:scale web=-1` and other bad input.
Merge pull request #1658 from mboersma/1557-validate-ps-scale

fix(controller): validate app structure values