Allow MongoDB to set up cluster when in recovery state

Also cleaned up 'exec' statements, spacing, quoting.

MongoDB sometimes deploys into REC (recovery) state, but
it does not block deployment. Also running mongostat with
'-n1' option so that it does not print many lines and
waste time during deployment.

Change-Id: I4d6cb861e5f40fd2e4f74742d51aa40212b8f030
Closes-Bug: #1381826
Merge "Allow MongoDB to set up cluster when in recovery state"