implemented abstract rewrites node class
integrated AbstractRewritesNode into ServerNode as well
Merge pull request #127 from wick-ed/master

reviewed diff and tested locally with 0.6.0beta1