Pyramid14

I found some problems with the scaffold working on Pyramid 1.4.x and Python 3. These changes might fix this.