Added a static method to EncryptionController.

EncryptionController.getKeyDatabase() returns a copy of the database as
a string.  At the moment it reads a test file, but that will later be
the database.