lineinfile work

Reworked the lineinfile module slightly, adding the backrefs parameter to explicitly enable the use of backreferences. Additional unit tests and documentation.