KH-204: Use JodaTime instead of Calendar

Also make proper check for koodimetada, contains only checked for
mathing id's which was inadequate.