Fix typo in Device info_map

This enables getting version and profile information from a device.
Fix typo in the context error message
Merge pull request #5 from lcw/small-fixes

Small fixes