Limit and filter logs

Drop duplicates logs.
Allow for logs to be grouped, enforcing a maximum number of logs per group.
Add the LOG_FILTER setting to ask from the configuration file to ignore some
logs (of level up to warning).
Minor correction to settings documentation
Fix unittest issue related to python2/python3 differences

The test_datetime test passed on python3 but not python2 because
datetime.strftime is a byte string in python2, and a unicode string in python3

This patch allows the test to pass in both python2 and python3 (3.3+ only)
Merge pull request #1030 from Rogdham/filter_log

Limit and filter logs
Merge pull request #1307 from al-tonio/datetestfix

Fix unittest issue related to python2/python3 differences
Minor text changes to log message limitation
Fix error in download_attachments() triggered by python2 unit test

The download_attachments error is triggered in the unit tests by a japanese
error message (接続を拒否されました) (connexion denied), that
python is not able to serialize the into a byte string.

This error weirdly does not appear every time the unit tests are run.
It might be related to the order in which the tests are run.

This error was found and fixed during the PyconUS 2014 pelican
sprint. It was discovered on a Linux Fedora20 computer running
Python2.7 in virtualenv
Merge pull request #1308 from al-tonio/download_attachments_japanese_error_msg_fix

Fix error in download_attachments() triggered by python2 unit test
Cache content to speed up reading. Fixes #224.

Cache read content so that it doesn't have to be read next time if its
source has not been modified.
Add s3cmd MIME type detection