Introduce dispatch.php for REST-style endpoints
See foodsharing-dev/issues#83. This commit takes two shortcuts:
- Instead of actually using nice URLs, this goes through a new entry point
dispatch.php
. Server config needs to be changed before we can use nice URLs for this. - I created a really nice structure with PHP namespaces and everything, but it just forwards to the old stuff.