Refactoring of the ControlParameter smell detector

Refactoring of the ControlParamater smell class to fix issues related to
smells and other non-smell issues.

For issue #231.
Merge pull request #249 from gilles-leblanc/control_parameter_smell_free

Refactoring of the ControlParameter smell detector