Tweaked citation group context so that truncate_before is supplied only when there is text before
Added a simple JSON formatter.
Add Travis configuration file