bugfixes and new isSite method for page and site objects