pass R cran check
fix bug

episodes with only one report having symptom_end before previous_report
were not detected.
reorder ordered variables
add travis CI support