factor more code in load_output_module into helper function
factor more code in load_output_module into helper function

We create a create_module function which does the reverse of the
destroy_module function, given parameters it
allocates and copies the needed strings to create the module struct.

(Based on work by Trevor Saunders.  Commit message edited by Chris.)

Signed-off-by: Christopher Brannon <12dbcddb2a34235e759e3c56208f0d4ec028c34a@gmail.com>

razr/opentts,razr/opentts,razr/opentts,razr/opentts