added a link directive that provides url rewriting of a tags. Fixes #16