[MONDRIAN-2109] Display a proper error message when a calculated member is used inside of ValidMeasure. (cherry pick from master 317605ee3784437b9e2e42634866f66c3f76a59b)
[TEST] - correcting expected closure sql now that segment queries are using the closure table
Merge pull request #356 from kurtwalker/ClosureSqlTest

[TEST] - correcting expected closure sql now that segment queries are us...