RR: added faciltiy to run unit tests againts mulit-database configuration.
A test setting file and a test router is used to provide write access to the database so model objects can be defined for test.
RR: added bmy first real code and test.
RR: refactored allocation-related code into a Django "app".