Port runner type API to utilize the base ResourceController class.
Port runner type API to utilize the base ResourceController class.

This way filtering and everything else works the same as with the other APIs.
In addition to that, we can get rid of all the duplicated code.

StackStorm/st2,pixelrebel/st2,emedvedev/st2,peak6/st2,peak6/st2,nzlosh/st2,lakshmi-kannan/st2,nzlosh/st2,StackStorm/st2,Plexxi/st2,pixelrebel/st2,punalpatel/st2,nzlosh/st2,peak6/st2,pixelrebel/st2,Plexxi/st2,lakshmi-kannan/st2,StackStorm/st2,nzlosh/st2,Plexxi/st2,Plexxi/st2,tonybaloney/st2,punalpatel/st2,punalpatel/st2,emedvedev/st2,tonybaloney/st2,StackStorm/st2,tonybaloney/st2,emedvedev/st2,lakshmi-kannan/st2