Fix to use appropriate backend
Move internal variable definition
Support Org 8.2.6

Other changes are below.

* Support TOC generating
* Remove function and variable definitions haven't been changed from ox-html.