Implement trailing docs

It's pretty rudimentary at the moment, but it's a start:

  - Uses strings instead of objects
  - Only deals with package declarations
  - Doesn't deal with trailing blocks