Bugfix - newline characters now included in offsets when creating a
document object from a string
Started to implement structural identification part of TagLine.
Cross-validation now splits based on document ID so that all lines from
a document are kept together in the same set for evaluation.