Upgrade Jekyll configuration to support new version 2.4.0

Changed the following:
- Layouts 'post' to 'posts', 'page' to 'pages'
- Replace occurrence of 'nil' in all front matter to 'null'