entity_relation using new search interface

- add/check entity_relation task using new search interface
- add a test to RunTests
- the performance improves when using the new search library
cd demo/entityrelation; make er.perf
Average Entity Recognition F1: 0.924768675649
Average Relation Recognition F1: 0.532274346852