Style changes and exit status fix

- Documentation tidied
- Non-zero exit status is now returned when exceptions are thrown
- Changed formatting of zeros in revision list