Update how we set the default type on SwatMessage.

Instead of having the default type in the parameters, set the default type if type is left unset. This allows code that calls SwatMessage to pass null into the creator and get whatever SwatMessage uses for a default.