Update of xym.py
Update of xym.py

- Fixes the problem with too aggressive removal of empty lines 
- Adds a mode where a reference to the line number in the original text is added to each extracted line as a comment
- Creates a 'post-processing pipeline' where changes can be applied to an extracted file
xym-tool/xym