do not execute rewrites during moves

This finally adds the delayed link adjustments. Links will not
automatically adjusted when a page is read, when it happens during
a page move operation. State of this is tracked through a global
variable $PLUGIN_MOVE_WORKING.