resin-admin rest cleanup

git-svn-id: svn://svn.caucho.com/home/svn/svnroot/resin/trunk@10013 9c94448d-38f1-0310-a231-d98308ff1ebf
quercus preg_replace_callback() empty matching groups fix

git-svn-id: svn://svn.caucho.com/home/svn/svnroot/resin/trunk@10014 9c94448d-38f1-0310-a231-d98308ff1ebf