Document end indicator written when tag directives are present

* The directives are not emitted if none but the default tags are specified.
Skipping checking DocumentEnd.IsImplicit
Emit explicit document end when next document have directives
Merge pull request #82 from rogernorling/master

Equals() rather than == is best practice
Merge pull request #83 from rogernorling/fix-emitter-tests-1

Fix emitter tests