Rename possibly confusing 'l' variable to 'p'

P for protocol, obviously. It also matches the docs.
Pass the 'core' instance down to the IRC bot
Pass the nickname to the bot

This is way better and straight forward way of passing the nickname to
the bot.
Actually pass the core instance to irc bot instance