SPINNING COSMIC STRINGS: A GENERAL CLASS OF SOLUTIONS