Add GNU licence, move VariantPtr.h to common