allow for null value for Calendar input

It wasn't possible with the previous version so I did some changes to allow for a null.

It's basically juste a change in the onBlur event and some checks in DaysView but it may be worth checking if nothing is broken by theses changes.