=BG= move nickel postgres middleware to own library ...

(from https://github.com/bguiz/rust-scratch/tree/master/nickel-postgres)