Improve type mode

See commit messages. This is a continuation of #610 and addresses [2291](https://code.google.com/p/ankidroid/issues/detail?id=2291) by not opening the keyboard on the first card of a session (however, it does not open the keyboard on all cards automatically to preserve screen estate and to not conflict with #442).