Bring into line with the dm-bht rewrites

Includes updating the supporting kernel glue
and cleaning up the unit tests a little.

The dm-bht.c code will be reviewed in the kernel
cl.

TEST=manual
BUG=none

Review URL: http://codereview.chromium.org/2771002
13 files changed