Improvement on logging and configuration.

Some refactoring on this plugin. Check if it's interesting to you.

- Improve the configuration reading logic, print user friendly log when missing configuration item.
- Polish the debug output. Use Jekyll logger.