RR: some test name changes.
RR: added tests for allocation requests.
RR: added tests for converting an email domain into an institution domain.
RR: function to extract email domain.
RR: database code to retrieve allocation summaries from the database.
Losts of unit tests.