Automatically detect whether plugins are available

Change-Id: If875eb99fc855606f024853bb52796487ebd6c8e
Disable code requiring optional plugin (video and computer vision)

Change-Id: I3747ffb11acf91d91ded53a5a166ef4efc8a8139