Improve line-handling logic in hexdump_region. Numerous other changes.
Improve line-handling logic in hexdump_region. Numerous other changes.

* Logic in hexdump_region is now more sane; there is less repetition of
  code.
* Conditionals no longer have spaces inside the brackets.

ajbennieston/filescan