Add two new APIs for active keyboard layout.

This goes with https://github.com/adobe/brackets/pull/9652.
you should make this static so it doesn't sit on the stack