Allow building in a subdirectory of the source dir.

Debian packaging requires that we don't move the source dir,
and build everything under that.
First pass at Debian/Ubuntu packaging.
Don't forget to actually run dh_install.
Put files in the right places.
Add missing 'tmp' directory.