Update waAPIController.class.php

When you need to call method of plug-in, you turn to the address like:
[domain]/api.php/[app]/[plugin].[method] 
but however, some third-party clients should refer to a specific endpart URL, for example /cart.


This commit allows such a request method like:
[domain]/api.php/[app]/[plugin]/[method]