Ported 'ConvertIfStatementToConditionalTernaryExpressionAction'.
Cleanup.
Merge pull request #436 from TheCommieDuck/assignment-to-if

Ported 'ConvertIfStatementToConditionalTernaryExpressionAction'.