cortex auto instancing patch
added hash method to a procedural in a test, to stop it complaining
added recursive mutex header to IECoreRI::RendererImplementation header
Fixed auto instancing test failures

auto instancing tests on curves and patch meshes were failing, because emitPrimitiveAttributes wasn't being called, meaning the correct basis wasn't being set