add getMenuState API
Merge pull request #98 from adobe-photoshop/jrb/add-getMenuState-api

add getMenuState API