More caching

The poller caches the pollers, backends and poller_sets now.
This is to stop hitting the database for no reason as these things
are slow-changing configuration details

Signed-off-by: Craig Small <csmall@enc.com.au>