ICS-49, ICS-71: Fix to automargin

Change summary:

- Moved text measuring code into MarginMeasurer class
- Series can now use normal object arrays without requiring an insight.DataSet
- removed the zip file process  
I would write this as: if (str.length > 0 && !isNaN(str))