Calendar of events / Date picker: Fixed numerous keyboard handling issues.

Fixes #5551
Merge pull request #5659 from pjackson28/fixcalendarkeyboard

Calendar of events / Date picker: Fixed numerous keyboard handling issues.