Also: * add some exception handling; * chop newline character off of device name returned from rsmi_dev_id_get()
Also added tests for new performance levels and clean up some formatting/style issues.