Ensure that initializer option 'throws_exceptions' is properly stored

Change how :throws_exceptions is extracted from default_parameters in the API initializer, fixes issue #52.