Add two new APIs for active keyboard layout.

This goes with https://github.com/adobe/brackets/pull/9652.
you don't need to mask off the lower 16 bits if your shifting the value to the right by 16 bits