Improve luna_corelib

* Add CTCP helpers
* Remove some clutter
Remove obsolete Lua method export