InviteServerContext fires Accepted when accepting
Only non-ECMAScript globals are referenced with `window`
Imported emilio's changes
Update README docs
Move Grammar into main closure
bower.json edited online with Bitbucket
EventEmitter: .emit() binds listeners before calling them, works if listeners remove themselves

fix #28
update bower.json
Pass tests that were failed by the previous commit.
Merge pull request #29 from joseph-onsip/issue28

Fix #28
Test the fix for #28.
Some platforms emit onicegatheringstatechange instead of an empty onicecandidate
EventEmitter: Make .once() work with no bookkeeping
Change 500 reason phrase to "Internal Server Error"

See https://github.com/onsip/SIP.js/issues/32#issuecomment-45348197
Session.js: InviteServerContext - add receiveNonInviteResponse

This allows the InviteServerContext to be able to send in-dialog MESSAGE
requests. See
https://groups.google.com/forum/#!msg/sip_js/H27XRsTnBhA/-XaGf_bbjJAJ
WebRTC/MediaHandler.js: make prototype properties writable

This makes it easier to create custom MediaHandlers by modifying the default
one.
Move WebRTC.isSupported property to mediaHandlerFactory method.

Instead of checking SIP.WebRTC.isSupported, SIP.js checks
mediaHandlerFactory.isSupported(). If the method is not defined, it is
considered to have returned true, making it optional for a custom
mediaHandlerFactory.

This has the side effect of binding SIP.WebRTC constructor methods only after
SIP.WebRTC.isSupported is called.

fixes #37
Merge pull request #38 from joseph-onsip/37

Move WebRTC.isSupported property to mediaHandlerFactory method.
src/UA.js: Add INFO, NOTIFY to "Allow" header.

test/spec/SpecUA.js: don't expect particular headers in non-header tests

See https://github.com/onsip/SIP.js/issues/4#issuecomment-41676881
src/WebRTC: make `mediaHint` always be an object literal

Remove irrelevant/bad tests

fixes #34