Restore duplicate resource name check.
Restore duplicate resource name check.

Refs #1996

the8472/greasemonkey,Martii/greasemonkey,Martii/greasemonkey,the8472/greasemonkey,HasClass0/greasemonkey,Ventero/greasemonkey,HasClass0/greasemonkey,Ventero/greasemonkey