Fixed bug issues #43, #44, #46, #47. For issue #45 datepicker.js was removed and pikaday.js was added. Pikaday works as a fallback for browsers that dont support input type=date.