Fix for #2345 which stops replication starting if no overlapping snapsho...

Fix for #2345 and #1875.  Replication scripts runs even if there are no snap tasks to run.  Despite look of code change (add/delete) I have only made snap creation/deletion dependent on valid snap tasks to action and then taken call of autorepl.py script outside this loop