OVT-7973: Use generics and remove dead code
OVT-7973: use equals for comparing integers
OVT-7973: SimpleDataFormat is not thread safe

Create new instance from it instead. Changed visibility from public to
private.
Use static valueOf  instead of new

And don't create new instance for no purpose.
OVT-7971: Koodistopuun toteutusta muutettu tehokkaammaksi lisäämällä filteröinti ng-repeatiin.
OVT-7393: Use %n instead of \n

When formatting strings.
OVT-7393: Mark parameter as @Nonnull
Fix formatting
Organize imports
OVT-7393: Fix curly bracers on ifs
Fix formatting
Remove redundant public definitions
OVT-7983: Initial implementation of response

Will eventually reduce the data returned.
Merge branch 'develop' of https://github.com/Opetushallitus/koodisto into develop
OVT-7983: Added @Transactional

When fetching metadatas lazily session was already closed in converter.
Adding this to REST-method fixed it. Considering moving annotation
somewhere else atm, but this was quick solution so GUI work can
continue.
Merge branch 'develop' of https://github.com/Opetushallitus/koodisto into develop
OVT-7983: Lisätty uuden rajapinnan mukaiset relaatiolistaukset. Lisätty bindonce.js
Refactor
Päivitetty testit, korjattu servicen XSD-testi
OVT-7983: Return only required metadata

Created SimpleMetadataDto for this use. Only simple conversion class
with static methods is used for it. Will refine if deemed necessary.