Fixed a bug with our duplication-mechanism.

Now able to transition from any open-state (NAO) to D-Dupe state, but not the reverse  (Cisco cannot change it to any other state at this point, we have to).
Merge branch 'master' of https://github.com/schallagit/csync