Adds sum formula function to PG cartridge.

	* Function signature equivalent to Python interface's CalcMolFormula().
	* Only defined for Postgres 9.x but should work on 8.x too.