Added a command 'listmodules' to the cog server shell. 

May need further filtering / expansion.