Merge @slestak condition formulas work

Implement several condition formula elements

Conflicts:
	RptToXml/RptDefinitionWriter.cs

Closes #8