functionality to convert module to advanced module
also convert parent selection
append 'advanced' to name to better distinguish
handle unicode
Merge pull request #3880 from dimagi/convertmodule

convert module to advanced module