mrp_resource_native: Fix 10L with Attribute.get_value()

The dict was working by accident, so switched to a simple
if/elif/else structure
config: Add int/uint/float attributes for testing
mrp_resource_native: Fix Attribute.set_value_to()
helpers/example: Add a check