renamed category to promise_type and check if it is a valid promise type + unit test
Merge pull request #508 from basvandervlies/rename_category

renamed category to promise_type and check if it is a valid promise type