Option to prevent date picker to show when input field receives focus

Added a new option showOnFocus which can be set to false to prevent the date picker from showing when the input field associated with it receives focus. 

There are 5 failing tests, but these are also failing in master, so I have not done anything with them at the moment. 

3 new tests have been added to verify the new functionality.

Feedback appreciated!