Make consistent use of serializer methods

Add keyForAttribute/keyForRelationship into JSONSerializer;
Make errorKeyForRelationship take the 'kind' argument;
Remove multiple ternary checks for keyFor* functions;
Apply use of 'normalizeUsingDeclaredMapping to errors;