BasicPages: Increment to 1.9.1

Check if $Page is an object first before checking for $ValidPageID for
editing pages.