[feature/nestedsets] Add recalculate_nested_set()

The function is based on recalc_nested_sets() from phpBB's functions_admin.php
which was authored by EXreaction
[feature/nestedsets] Add some broken sets tests which should be fixed