Lapis: Use pgmoon postgresql backend
lapis: max 500 queries
Merge pull request #1091 from torhve/pgmoon

Lapis: use pgmoon backend, and fix queries max 500