Add defaultText option to command mode input view

This will be the fallback command text if the mini editor's text is
empty to be used by the replace operator for replacing with a line
break.

Refs #408
Trigger core:confirm on input view in replace spec

Refs #410