Added .trim() to the string of licence in LicenseResolver

trim() the licence string as some editors (eclipse) add additional padding which fails the equality check of List.containsKey().