Allow trial_end to be both an integer and a string.  Support trials ending now.  Release 0.18.