Make sure that base content types are always searched

We found another place where the JSP reference batch validator wasn't working on our custom jsp content type which is a subtype of the platform jsp content type, so this PR will make sure that all reference container lookups will search through basetypes for matches.