Bug 948356 - [SMS] Keyboard is still opened when message options menu displayed  

- Focus form to dismiss keyboard when action menu showed.
- Polish test cases.