Phenotype attempts distribution centres

Should be complete except for the integration tests - missing due to the current issues with Capybara and the webdriver. Have tested by hand.