Files adapted from Swiftfin

Tunavelo uses a few files adapted from Swiftfin. They are under the Mozilla Public Licence 2.0. Each file below is our changed copy, with its licence header kept.