Conditional aggregate implementation in tests

Test basic conditional aggregate implementation

More conditional aggregate tests

More conditional tests with m2m fields

Tests for negated conditional aggregates