Added nonday class to days before the 1st of month.
Added logic for selected parameter.

The selected class will be applied to the day that corresponds to the
value of the date input.
Added date selector CSS class tests.