GUI-876: Pass controller options to block device mapping editor as JSON.  Add unit tests for BDM editor panel.