createTicket respects alert/autorespond negatives

It was previously not possible to use the `alert` and `autorespond` flags in a negative way to prevent those two events, since the ternary operator would have used the `false` ternary value, which was `true`.  This corrects that by allowing the default of `true` to be used only when the `$data` array does not have the appropriate keys set.  Assigning `$data['source']` was altered to use the same formatting and caution against an undefined index error.
$data['source'] was unrelated to the "false" fix. Since it was in the same code block, I thought it would have less code smell by formatting it in the same way while also preventing a possible undefined index error if the $data ever didn't include that value.