Finish implementing the annotation-building process for WebAnno + add a lot of unit and regression tests