Initial commit of they simple keyboard state tracker for blog post part 1

Rotating the keyboard appears to close the keyboard (at least when the activity has imeOptions = stateHidden) so at least in the sample app we maintain consistency. Multi-tasking away is covered by onPause