CLOUDSTACK-7930, CLOUDSTACK-7931: Do not allow to set invalid values for global settings which are of type integer and float

 Do not allow to set invalid values for global settings which are of type integer and float
catching top level exception and swallowing the stacktrace makes it really difficult during debugging. 
For end user, we anyway wont show the exception but only the message.