[WIP] Makes JSONAPISource JSON API spec compliant.

Sending early WIP to discuss over code. Review very much appreciated!

http://jsonapi.org/format