Reworked custom lookups docs.

Mostly just formatting and rewording, but also replaced the example using
``YearExtract`` to  use an example which is unlikely to ever be possible
directly in the ORM.