test(TravisCI): fix offer/answer test browser quirks

- Detect firefox in test, and expect error.
- Detect Chrome in test and expect success.
- trigger 'error' on PeerConnection when an offer fails to be created.