o.c.trends.databrowser.opiwidget: Fix NPE for empty selection PV

Also skips VTable generation when selection PV not set.
Fixes #859
Merge pull request #860 from ControlSystemStudio/bug_859

o.c.trends.databrowser.opiwidget: Fix NPE for empty selection PV