DateTimeToString setting

The Settings are extended with DateTimeToString property which indicates
the DateTime data type to be translated to javascript's "string" instead
of a "Date" data type.
After suggestion of Christoffer the logic is reversed.
Fixed line endings
Merge pull request #22 from igochkov/master

DateTimeToString setting