fixed date format issue with datepicker [fixes #205]

Opened as an alternative to #210.

Differences from #210:

* Removed debugging gems (we use Pry)
* Removed Nokogiri commit
* Removed merge commits