Fix license headers

Replace “GPL3” by “GPL-3” to silence a cabal warning.
Fix copyright years
Ignore non-default hsenvs and hsenv.log
Fix the build

Fix building HEAD by commenting out the extractHierarchy stub, which fails to compile due to referencing the undefined type CHierarchy.