Fixed moved() to rebuild properly
Fixed adding pages (implemented the hook)
Fixed rebuild when manage_access was changed 1 => 0

(Bug was introduced in 46161510f9dc7a0943c31b78693b210a07aec436)
Implemented handling for trashed pages (restore and delete are ok too)
Merge pull request #5 from Aldone/fix/move-add-etc

Proper handling for added, moved, trashed, restored and deleted pages.