Added controlDirective to ifContentStatement. Fixes ticket #12105.

Change-Id: I48988c3f3451ff9fa86148f4bb923a2ebdb6c482