Fix bugs.
Process only the files ending with .rst or .md extensions
Merge branch 'master' of https://github.com/quack1/pelican_auto_tweet into dev