Fix two bugs: 

* Missing an empty line for first method of class in lua api doc.
* Override function could not be auto-generated for lua api doc.