Various fixes

* Fixed --modulo param handling
* Reverted edge deletion code to old version due to
  https://github.com/orientechnologies/orientdb/issues/3185