Add categories directive.

- Using `:ref` for cross references. For this to work the related category `.rst` file must exist.
- I have added the transforms file as an example of how cross referencing works.
- Added a local table of contents to Rebin.