Added a base class for actions.
Added several methods to bot.php: getListeners(), getListener() and
getCommand()

Change-Id: I1179281401cdaa2a4dcc50e647ec8462219bd265
Merge pull request #1 from superaktieboy/master

Added common code to a super class