add midi/midi.d.ts

I added typedef of Web MIDI API.
I also wrote an usage sample.
(https://github.com/nakakura/MidiSample)

This api is supported by Chrome v39.