Move the getMedia call before getting the peer connection to reduce callback complexity
Add some documentation to the public media.js functions and shorten the names of the callback variables.
Add streams to elements via app events, removing the need to pass the video elements around the media system
Fix calls to fully connect again. Also fix jshint errors
Stop passing video elements to closePeerConnection
In onaddstream for peer connection, don't rely on event.type as it isn't in the spec (get{Audio,Video}Tracks should be used instead if necessary).
Fix comment typo
Merge pull request #56 from Standard8/media_tidy

Tidy up media.js in preparation for chrome integration
Keep track of the notification for when you're the only user, and clear it if you're no longer the only user.
Add basic tests for the only person alert
Fix too long line
Merge pull request #57 from Standard8/stop_notification_join

Stop showing the only user notification when you're not the only user, r=@dmose
Merge master changes; add pending test discovered during merge