add accessors for PmDeviceInfo input & output
Merge pull request #10 from samdoshi/dev

add accessors for PmDeviceInfo input & output. is_opened if you need it.