Added type checks for cpan authors

CPAN 'authors' can be a list of strings, just a string or not set at all. This adds type checks to handle the different possibilities. Related to #712
Sure, I actually wasn't sure if I should check for the type or the method. :)