Fixed compatability issues with Pyramid 1.5.  This version and later will
require Pyramid 1.5 or later.