add option to allow the row id value to be stored

incomplete.   fails on non grids that have no ID on any row.
cellIndex now incs correctly if were adding IDs
changed id assigned to row id to __id__

Some grid packages use _id_
__id__ is slightly more unique.
a better name should be chosen.
Formatting changes

Fixed errors that were being returned by JSLint
Cleanup format attempt 2

Sorry still a newb at GIT,  but learning.
Add rowIdName as option, add tests for new options

Added rowIDName as an option to allow a rowid of something other than
__id__.

options {addRowID: true}
would result in
[{‘__id__’:’someValue’, ‘col1’: ‘someValue’, ‘col2’:’someValue’}]

options {addRowID: true, rowIdName: ‘rowId’}
would result in
[{‘rowId’:’someValue’, ‘col1’: ‘someValue’, ‘col2’:’someValue’}]
Add test for new options

Tests added for addRowID and rowIdName
addRowID and rowIdName deprecated to includeRowId

Includes updated test cases.

usage  {includeRowId : true}
result {“rowId”:”someValue”, “col1”:”someValue”}

usage  {includeRowId : “customId”}
result {“customId”:”someValue”, “col1”:”someValue”}

usage  {includeRowId : false}
result {“col1”:”someValue”}

for nulls to work  i.e. result {“customId”:null, “col1”:”someValue”}
line 33
        if ( index < keys.length && notNull(value) ) {
will need to be
        if ( index < keys.length) {

I  didn’t make the change as I do not know what the intent of filtering
the nulls there.
changed rowID null value to ''

Setting the value to null triggers the column ignore function.
line 33, which shifts all values left.

Will explore a fix on this.  I would prefer null.
Updated copyright
Version bump. Added details about new feature.
ignoreEmptyRows
Ignore option
Pack
Changes
Changes
Merge pull request #19 from dayAlone to ignore empty rows.