jsoncheck: set exit status if exception occured
jsoncheck: set exit status if exception occured

This patch makes jsoncheck set the exit status to 1 if an exception
occured (i.e. if a syntax or formatting check failed).

This affects only the use of jsoncheck as a commandline tool.

Change-Id: Ibb38893b9c3010715c7112216b79b3b03c449992

savinash47/openstack-doc-tools,savinash47/openstack-doc-tools,openstack/openstack-doc-tools,savinash47/openstack-doc-tools,openstack/openstack-doc-tools