Ensure selected key signature alteration are always applied.

As a followup of PR #353, I modified the note mapping to ensure the key signature is always applied. 
This solves the corner case where if you selected Fes signature with flat alterations, entering a "b" gave you a "b" note instead of "ces".