[WIP] Upgrade pyramid to 1.5

*— Not ready to review yet —*