add getSelector()
Merge branch 'Siddhi-3.0.0' of https://github.com/sacjaya/siddhi into Siddhi-3.0.0
fixing breaks due to API refactoring
fixing NPE
adding testcases