Add simple configure script

It lets you set TCP ports of database, sql-api and map-api.
Add --with-pguser support
Merge pull request #856 from strk/master-configure

Add simple configure script