class->module, add mode, improved mkdir, improve installed with dir compare

* change class param to module, class might be used later
* add mode for mkdir and rsync
* add better comments
* add resync section
* add chown to mkdir
* add chgrp to mkdir
* add chmod to mkdir
* remove dummy commands
* add independent 'installed' section
* add compare section with perl dir compare code from Ningyou::Util