ZF-6527: Enable the Zend_Rest_Server's namespace support


Due to the consistency between Zend_Xmlrpc_Server and Zend_Rest_Server. I simply added the namespace support in Zend_Rest_Server.

public function setClass($classname, $namespace = '', $argv = array())
    $this->_args = $argv;
    foreach ($this->_reflection->reflectClass($classname, $argv)->getMethods() as $method) {
        $this->_functions[$namespace.".".$method->getName()] = $method;


Actually, we plan to deprecate Zend_Rest_Server in favor of an MVC-based solution, and are accepting no new features to it at this time.