update lifelines example and allow lifelines.json to accept string date

since we are using R, I thought R friendly dates would be more easily
understood.  I converted the milliseconds since 1970-01-01 Javascript
format to string dates in the format %Y-%m-%d.  To accommodate this, I
changed the lifelines.json spec to parse these dates.