fix ReadmeCommand

Based on #448 but without problem it generates.

1. Fix overriding `code-block:: php` with `code-block:: bash`
2. Fix adding to output `\r` when running command on Windows and PHP_EOL = "\r\n".

I added `?>` to close php section in FixCommand's help. `?>` is removed in generated README