Bug/4236/selected category should appear in popup

http://www.rudder-project.org/redmine/issues/4236 

https://github.com/Normation/rudder/pull/383

and https://github.com/Normation/rudder/pull/385 

should be accepted first