Added error classes to common.dart, added tests for requester to throw errors

R=sgjesse@google.com

Review URL: https://codereview.chromium.org//370583007