In this patch we convert preformatted directive (double colon at the end
of line) to code-block sphinx directive. Also, fixed formatting for
existing code-block directives, and changes restructuredtext code
directive into sphinx code-block.
Change-Id: I9db48fbb169263e3bf66eacca7d9bce6c355739f