Add configurable option to exit on warnings.

Signed-off-by: Bebe Peng <bpeng@pivotal.io>
Add docs for exit_on_warning option to README

Signed-off-by: Bebe Peng <bpeng@pivotal.io>
Merge branch 'feature/configurable_warnings' into develop