Bug 994318 - Implement caching for ShouldLoad to speed things up.  r=ckerschb,grobinson
Bug 994320 - Implement permitsAncestry CSP in C++. r=ckerschb,grobinson