Refactors mpog_software_plugin_myprofile_controller.

Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
Refactors edit_institution method in mpog_software_plugin_myprofile_controller.

Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
Replaces block conditions to proc.

Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
Creates constroy_software method in mpog_software_plugin_myprofile_controller.

  - Create private methods to use it in
    mpog_software_plugin_myprofile_controller actions.

Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
Creates constroy_software method in mpog_software_plugin_myprofile_controller.

  - Create private methods to use it in
    mpog_software_plugin_myprofile_controller actions.

Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
Remove institution dead code

Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Merge pull request #2 from fabio1079/refactoring_code_plugin

Refactoring code plugin