emacs: 10.9.x battery code fixed.

Emacs/trunk (v 24.3.50) fixes this issue.  As I'm already running that
version to fix some memory leaks, sure, let's bring that back.
emacs: add message mode hacks for mutt.
UNSW CSE hacks.

Some knobdriver^Wdeveloper arbitrarily decided that Debian should never
be updated.  Thus, many hacks are needed to make the OS work:
- Emacs 22 (?!!) compatibility shims
- compatibility shims for CSE "localprofile"
- colourisation for ls(1); may get a better solution for this.
- CFLAGS (but this seems not to work.
- TMPDIR massaging
- replace xtset
- disable time-tracker