added testcase: given a chart with no margins specified, the json representation should have no margins too

The new test is failing, because marginLeft and marginTop default to 0 instead of null.
fixed that marginLeft and marginTop default to 0 instead of null
Merge pull request #1 from scoyo/fixMargins

Fix defaults for margins