Add `errors` and `notes` to method metadata

This is a backport of #113 from the master (2.x).
Merge pull request #115 from strongloop/feature/backport-error-and-notes

Add `errors` and `notes` to method metadata