Handle sync enable flag correctly in folder scheduling.

This fixes bug #1083.

Conflicts:
	src/mirall/folder.cpp