Merge changes from v3-stable into master

This appears to be mostly the Padrino upgrade, Erubis dependency, Hooks upgrade, and the layout/renderer refactor.