Fix memleak and refactor awakeFromNib in CPController
Merge pull request #256 from VladimirTechMan/fix_memleak_and_refactor_cpcontroller_awakefromnib

Memleak fix and improvements in awakeFromNib of CPController