ALLOW_UNKNOWN allows unknown fields to be read.

Previously, ALLOW_UNKNOWN would allow unknown fields (fields not listed in
the resource schema) to be written, but not read. With this update when
ALLOW_UNKNOWN is switched on for a resource unknown fields will also be
returned in response to GET requests.

Closes #397.
Addresses # 250.