Changes config object for calendar to be bi-directionally bound.

This fixes the issue of having to JSON.parse the configuration options.