Added feature to make bot automatically leave chan

If the bot gets banned or quieted or the channel is invite only, now it will auto-leave the chan
Link directly to images for image posts

Some clients let you display images linked in chat in-line,
this feature is designed to help them out. It puts images at the end of
the line
Merge branch 'refs/heads/development'