Reorganize and expand.
- Puts directives into own files
- Creates context module for constants and mappings
- Defines standard pattern of passing around context as argument
- More or less fully defines RewriteCondition and its dependency of TestString