Convert docs to reST

Partly convert docs to reST

Move config docs

Convert event subscribers chapters

Set default language to PHP

Refactor docs

Fix code indent