fixed postgresql install, added swap support, enchanced nginx template for php and locations, version bump