Import divbwt.c from lbzip2 2.5
Expand preprocessor conditionals
Expand SWAP macro
Expand MIN macro
Replace data types

sauchar_t => byte
saidx_t => int
saint_t => int
Replace basic keywords

static => private
const => final (or none)
Refactor explicit stacks

ssize now increases by 4 or 5 units every push.  trlink is updated
accordingly.
Convert non-function macros to constants
Replace Td with T and depth
Rename heap base pointer to HB to avoid confusion
Replace PA with an index to SA
Remove usage of ISAd and ISAn pointers
Remove usage of ISAb and ISA pointers
Convert remaining text pointers to arrays
Replace most of pointer declarations

Pointer derefecrences remain for now, but fixing them should be just a
matter of replacing by indexing into SA.
Replace pointer derefecences with array accesses
Get rid of remaining C preprocessor macros
Add Java class declaration
Remove usage of trbudget struct
Fix table initializers