some modifications, URL examples fixed
fixed typo in resource type validation, and with that all the foreigns key validation bugs. now keys.foreigns is always an array.
fixes and updates
* handling of empty request '/'
* handling of nested linked requests
* corrected errors root name to 'errors' as written in the spec
* added support for the Location header
fixed support for multiple insertions and relative per-insertion error handling