Change positioning of composerdoc tags

Previously composerdoc tags surrounded both required and dev sections of
composerdoc, which lead to errors when using `composerdoc update` with
the `--dev` flag.

The composerdoc tags now surround the entire section of composerdoc
output, including the "Required/Dev Packages" header.