fixes unicorn config
added documentation and fix for pg gem functionality