GPII-864: licence file and licence headers for STMM

Since package.json mentions the BSD 3-Clause License, this is the licence that I added. Otherwise, I would have taken Apache 2.0.