Initial commit for RestServer
Added 'root' to RestServer which is automatically set to the directory where your index.php file is located. This allows relative paths to be used in the service classes. (e.g. if your index.php file is at /api/index.php you no longer need to add /api/ to the beginning of all your URL routes)
Cleaned up server for STRICT mode. Thanks to Chris Boden for pointing some of these out.
Fixing warning given on base URLs, "/"
Sample .htaccess for URL rewriting / pretty urls.

Rename sample.htaccess → .htaccess

Content bought from: http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/
Ensures that exploding the HTTP_ACCEPT string does not get confused by whitespaces
Slicker version of .htaccess with comments what's going on
Enable the possibility to choose the format via HTTP request headers (i.e. with »HTTP Client« from the Mac AppStore)
New feature: dot-syntax to change the format

You're now able to use the following syntax to
control the format: /controller/action.format
where format is one of the following: plain, txt,
html, amf and json (they're defined in the
RestFormat class).
Merged local master branch and github master branch
Resolved a merge conflict
Merge pull request #1 from jk/master

Merging some fixes, dot syntax for format, and .htaccess sample from Jens Kohl.
Moved SendData into catch block so you can throw a RestException for non existant objects
Merge pull request #10 from Scimon/master

Moving the sendData inside the try/catch so that errors thrown aren't overtaken by sendData.
Imrove url support. Provided support for non-root urls, ex.: domain.com/api/rest/controller
Merge pull request #11 from Tomasz-Ks/master

Imrove url support. Provided support for non-root urls, ex.: domain.com/...
Merge branch 'master' of https://github.com/SeanZou/PHPRestService