Successfully loads cats from database and honours Content security policy

Can now fall back from database driven to built in on websites such as facebook.com!

Signed-off-by: Matt Rayner <matt@mattrayner.co.uk>