In WLError.toJSON() - wrap in 'error' to match expected behavior from other common APIs (e.g. Google)- also experiment with status codes.
Added .length, .messages/.errors, and .attributes/.keys helpers, also refactored some stuff, improved toPOJO and toString and inspect output.
Grammar fix.