Add support for pausing orchestration

- Adds support for pausing orchestration. At certain points we'll check
  for the existence of a file path. If this path exists we'll pause
  replication until the path is removed.
- couple of unittest fixes/additions