Metadata.{getfitting ==> getFitting}

Signed-off-by: Mattias Andrée <maandree@operamail.com>
KMS.{usingkms => usingKMS} + split up KMS class into more functions

Signed-off-by: Mattias Andrée <maandree@operamail.com>