Updated encoder usage text

Fixed #905

- Updated the encoder usage text to be 80 characters wide
- Fixed warnings found by static code analyzer
- Converted tabs to spaces in CMakeLists
- Updated the encoder README.md