Remove obsolete cache DB schema
Split API controllers into separate files

Also:

- New, simple router that can store path components directly in the controller
- Removed support for redirecting old object ids, with the exception of collections/<collectionID>/items, which appears to still be in moderate use
Sync tests: use future API and handling download queuing better