Add new rule UnnecessaryNullCheckForCXXDeallocRule.

Add new rule UnnecessaryNullCheckForCXXDeallocRule.
--Add testRuleOnCXX11Code to test c++11 code.-- (cherry picked)