Improve Logging system

Replace logger by Ruby Logger
Add new replacement system

Change all parsing and data replacement
Parse only one time the document
Allow multiple included loop