Allowing custom date formatting for google charts and highcharts

Following up with the issue #10 I raised a couple of days ago I'm submitting this pull request.

This changes allow custom date formatting for both highcharts and google charts.