listTransitions response fix; addComment error handling

Hope this helps!

listTransitions -- was returning undefined to me (using 2.0.alpha1), but when I removed the parameter I got the correct result.

addComment -- had no error handling if the statusCode wasn't a 201 or 400.