[chansaver] Add support for loading as a global module

This also fixes a bug where loading the module as a network causes other
channels in different networks to be saved

Closes #529