treewide: move templates and libraries not used by the core to luci-compat