Collectd: Check value ranges according to types.db

Types defined in types.db declare upper and lower bounds for the values stored for a certain source.

These limits were parsed and stored by CollectDTypes but no checking was performed. This PR fixes this bug and adds relevant tests.