Allow interaction with client-side ajax

And allow passing a callable array as the callback to the URL dispatcher
Support PHAR plugins

And make plugin internal handling more consistent
Merge pull request #367 from greezybacon/issue/plugins-revisited

Revisit plugin manager

Reviewed-By: Peter Rotich <peter@osticket.com>