lshift/diffa — pull request #29 by paulj (2012-01-25 04:18:37+00:00)
Title: Simplify Endpoint References

A few cleanups to internal data structures and details stored in the database:

* The domain of an endpoint is no longer stored against a pair - the endpoint must always reside within the same domain. Internally, endpoint details are no longer loaded automatically when a pair is retrieved - the endpoint should be retrieved when needed;
* Rename `Pair` to `DiffaPair`. `Pair` conflicts with an internal Scala class, and in many cases we were already aliasing the name. This change simply makes that official.