Refactored date input/picker into separate component

Created a new, reusable component to handle date input/selection with the pikaday plugin. Then I updated both the `date` and the `datetime` components to use this new component. It seemed like the "react" thing to do. :-)