docs($q): Document optional parameters for $q.when

This documents undocumented methods present in the `$q.when` API.