Transfer from private repo:
- hooks added;
- improved output catching around layout;
- improved url management, processing new rules in url-rewrite.
Important improvementes and fixex collected while working on CodeAbbey project were merged.