dsl: Extend to use any type of matcher and helper functions to update files using one.
Merge pull request #1 from udoprog/master

Provide DSL helper functions to update any type of file using a pattern matcher