Port lumberjack module from IDA

@alphagov/gov-uk-infrastructure, @philandstuff have a look and merge?