Fixed wrong recursive call when changing current page.
Cloning of idevices in node added.
Fixed double pjax event binding.
Duplication implemented (fixed issue #15)