Merge pull request #15 from wick-ed/master

reviewed diff and tested locally
refactoring due to hook feature
Merge branch 'master' of https://github.com/techdivision/TechDivision_RewriteModule
Merge pull request #16 from zelgerj/master

refactoring due to hook feature
added redirect tests
Merge branch 'master' of https://github.com/techdivision/TechDivision_RewriteModule
worked on redirect workflow and tests