provide better error message on invalid configuration field types

The OSGi message just says "IllegalArgumentException: [type]". With this, the exception contains the PID of the configuration that failed and the key for the invalid value. Helps with debugging.