perl api changes

Add registration and last seen time in account.xs.
Add config.xs to retrieve config values from the perl api.
Add functions to channel.xs to register a channel and to retrieve limit, key and ts.
Allow channelregistration.xs to get/set flags and get used time
Add Perl module with channel mode constants