Added a custom serialize method for dhtmlxgrid.

DHTMLX libs GPL version 3.6 do not support .serialize(). It is available
only in the PRO version.
Refer - http://docs.dhtmlx.com/api__dhtmlxgrid_serialize.html
Therefore a simple custom serialize method has been added to support the
missing serialize functionality.

https://bugzilla.redhat.com/show_bug.cgi?id=1101250
Merge pull request #140 from AparnaKarve/bz1101250_custom_serialize_for_dhtmlxgrid

Added a custom serialize method for dhtmlxgrid.