Add Apache v2 license header.

@paulcwatts Please review, and if you're ok with this go ahead and merge.