fixes delete for key_pair (an id is needed by ActiveResource)
adds more unit tests (some admin unit tests, among others).