Ma/keygen

This is a reopen of the prior PR #115 ; the first two commits were reviewed, and the PR closed.

This was reopened to address failing tests in the status endpoint tests; mocked out the keygen status function for now.

@sdelano @tylercloke