Added functionality for noteFromMidiPitch

Added function to return Midi note from pitch. Rearranged exports mechanism. Added a test script to output all notes for pitches from 21 to 108.
I ve tweaked my code as per your comments. Please do not hesitate if you need more improvement!

I m trying to understand your suggestion for the future, what is the scenario where `e` would need to return the pitch for `d#` (they are 2 different notes). Also, `cm` denotes a chord, mode or scale and `eb` is a note. How are you relating `cm` to `eb`? I m really curious to know :)