Feature/datepicker popup only show buttons if text

The datepicker popup will only show buttons if there is text defined for them.
All tests pass.
Demo has been updated.

This pull request has some other commits, but they don't change any of the files.  I don't know why :-(
Only 3 files have changed.