Add licence document and per-file headers

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
11 files changed