Fix emitter tests

This request completes the fixing of the emitter tests by making sure a document end indicator is emitted when the next document starts with directives. Also, tag directories are skipped if they only consists of the default yaml tags, that is if they are a subset of:

```
%TAG ! !
%TAG !! tag:yaml.org,2002:
```

This request depends on pull request #82