Allow for ApexTests to be preselected when UI is generated

Update to support "selected" parameter to be passed when the UI is
created to preselect apex test classes. This will allow "Run Apex Test"
context menus to facilitate selection of active or selected files for
test.