Add resource registration.

Review Request #1559 — Created May 1, 2010 and submitted

Information

Djblets

Reviewers

Add resource registration.

Callers can now register models to be used with specific resources, which
will be automatically used by the encoders. There's no longer any need for
a caller to have their own encoder when used with resources.

This is dependent on /r/1528
Works with my Review Board change.
david
  1. Pending ship on the dependent change.
  2.