Python: Add bindings for device_reg_write/device_reg_read

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>