fix(controller): validate app structure values

This guards against `deis ps:scale web=-1` and other bad input.

Fixes #1557, refs #1511.
Some whitespace would definitely be nice here, but I agree this would be the only test to do so, so it's probably better to do a code style pass like that separately.