Use strict comparison operators for RESUtils
Also bugfixes for RESUtils.pageType