[46594597] replace mongodb with postgresql

Function test and UI manual test on local box pass.

Still need better documentation and also effort to push to cf.com for testing.

Tranvis.CI might fail because a patch of juggingdb-postgres doesn't contained. I will make more code change later.

Signed-off-by: Henry Chen <hchen@vmware.com>