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 branch 'fix/move-add-etc'