add test for DocumentImpl
JBIDE-16479: initial implementation
implement test for getCursorOffset()
rename document into delegateDocument
add test for getLineOfOffset()
add test for getLineOffset()