Use the new section title style in Asciidoctor.

We previous use the section title style like:

Section level 1
===============

Section level 2
---------------

Which have a problem in Asciidoctor that the number of "="s or "-"s must match
the number of characters in the header exactly, as a result it's easy to make
mistakes while changing the titles. Asciidoctor provides a better style like:

= Section level 1

== Section level 2

So we switched to this style.

Also fixed a bug in replace_macros.py, which will not cause any problem in the
old style.

Change-Id: I811dd7238735d98f662767c17086152cd69aea02
diff --git a/Documentation/cmd-create-branch.txt b/Documentation/cmd-create-branch.txt
index 6e6d561..671adfe 100644
--- a/Documentation/cmd-create-branch.txt
+++ b/Documentation/cmd-create-branch.txt
@@ -1,12 +1,9 @@
-gerrit create-branch
-====================
+= gerrit create-branch
 
-NAME
-----
+== NAME
 gerrit create-branch - Create a new branch
 
-SYNOPSIS
---------
+== SYNOPSIS
 --
 'ssh' -p <port> <host> 'gerrit create-branch'
   <PROJECT>
@@ -14,24 +11,20 @@
   <REVISION>
 --
 
-DESCRIPTION
------------
+== DESCRIPTION
 Creates a new branch for a project.
 
-ACCESS
-------
+== ACCESS
 Caller should have link:access-control.html#category_create[Create Reference]
 permission on the project.
 
 Administrators do not automatically have permission to create branches. It must
 be granted via the Create Reference permission.
 
-SCRIPTING
----------
+== SCRIPTING
 This command is intended to be used in scripts.
 
-OPTIONS
--------
+== OPTIONS
 <PROJECT>::
     Required; name of the project.
 
@@ -41,8 +34,7 @@
 <REVISION>::
     Required; base revision of the new branch.
 
-EXAMPLES
---------
+== EXAMPLES
 Create a new branch called 'newbranch' from the 'master' branch of
 the project 'myproject'.