Don't automatically overwrite host's ssh keys

If a machine is being used for additional services, it's possible the root user has already generated an ssh key. Overwriting that key might be undesirable.
Move this to its own function. Also make it so it skips this function if AppScale is in test mode (needed for automated testing).