* group together key validity refactors
Storing server keys hammered the database a bit. This replaces the implementation which stored a single key, with one which can do many updates at once.