pcreate recursive overwrite

Improved version for https://github.com/Pylons/pyramid/pull/901
This pull request contains the changes proposed in the previous one and adds the test cases