Center aligning code blocks for appium.io and added instructions in how-to-write-docs.md
Merge pull request #3135 from moizjv/documentation

Center aligning code blocks for appium.io and added instructions