Work on functional tests
Eliminate unused method
Add subject entity and associate it with resources
EAD export is schema-valid
Add email property to institutions
EAD refinements
Incorporate RNE's suggested changes from #48
Eliminate a todo
EADs have a .xml extension instead of .ead
Add LocationsControllerTest
Clear the user's confirmation code after successful confirmation
Add PasswordControllerTest
Work on unit tests
Add RepositoriesControllerTest
Replace uses of assert_response with assert_redirected_to
Fix incorrect redirects
Manually raise RecordNotFound when necessary when using find_by_username (which won't raise it itself)