added ApiController.doAction() and reinplemented all the methods to use it
added ApiController.doAction() and reinplemented all the methods to use it

dedalozzo/reindex,reindexltd/reindex,dedalozzo/pit-press