Merge pull request #15 from verath/master

Improved replace readability and regex
Fixed indentation of multi-line vars.
Merge pull request #18 from verath/patch-1

Fixed indentation of multi-line vars.
Marked currently unsupported commands
Updated commands to match current version
Escaped command options
Basic logging to a database. Stores user stats and logs for public messages in MySQL
Merge branch 'master' of github.com:HackThis/NexBot
Added reconnection and replaced escaping to built in function of MySQL class
Listening to only the channels joined by NexBot
Fixed re-connect issues
Back to listening to all channels, but ignore PM's in standard handle function
Added username and real name
Added handler for logging PM and joins
Made second parameter in profile command optional
Merge branch 'master' of github.com:HackThis/NexBot
Trim whitespace from user profile request
Moved trim to the correct place
Fixed crash on PM