Break out loading of charm modules into helper function

This is primarily to cleanup some of the redundant code within the
gui logic. It is my intention to make the loading of charm modules filterable
to further clean up any duplicated code.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Merge pull request #50 from battlemidget/master

Break out loading of charm modules into helper function