Add two new APIs for active keyboard layout.

This goes with https://github.com/adobe/brackets/pull/9652.
actually not sure why i thought that was on the stack but, still, there's no reason to create a 20 byte buffer on the heap every time this function is called.  Just create one static and you're good to go and you won't need to delete it ever.