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  
Use != null to check for null or undefined.  This was recommended by Saxo team in JS study group 1.