Add two new APIs for active keyboard layout.

This goes with https://github.com/adobe/brackets/pull/9652.
this is out of alignment