Use proper rst syntax

Now for a change, instead of typos, massive formatting fixes.