Fix PR #44

 * Restore PHP 5.3 compatibility. It was broken because of the use of `$this` inside an anonymous function.
 * Restore the selection of tags for which apply `path_replace` thanks to `self::$path_replace_list`. It had been unintentionnaly dropped.
 * Enhance code consistency in its presentation. Especially add spaces after opening parenthesis and before closing ones.