canCreateInstance() method for type serializers

In order to move to the Kryo serializer for generic type serialization, a canCreateInstance() method is necessary. @tillrohrmann already did this in a private branch. I rebased, cherry-picked and reviewed it and updated the new serializers.
- I would remove the `@return`
- I think "Returns whether..." is better than "Gets whether..."
- Empty line above the beginning of the comment