Add two new APIs for active keyboard layout.

This goes with https://github.com/adobe/brackets/pull/9652.
you aren't using `len` for anything.  You could have used it to compute the length of the string but i think just allocating a big enough static buffer should be fine.