Parsing and exporting special blocks preserve case

* lisp/org-element.el (org-element-special-block-parser):
* lisp/ox-latex.el (org-latex-special-block):
* lisp/ox-html.el (org-html-special-block):
* lisp/ox-man.el (org-man-special-block):
* lisp/ox-odt.el (org-odt-special-block):
* lisp/ox-texinfo.el (org-texinfo-special-block):
* contrib/lisp/ox-groff.el (org-groff-special-block): Preserve case.

* testing/lisp/test-org-element.el (test-org-element/special-block-parser):
  Add test.
lisp/ob-R.el: use `ess-wait-for-process' to assure clean session startup

* lisp/ob-R.el (org-babel-R-initiate-session): Make sure that (R) has
finished before `rename-buffer' is run.

TINYCHANGE
ox-html: Fix linking to deep level headlines

* lisp/ox-html.el (org-html-headline): Make sure even listified
  headlines have proper anchors so internal links can refer to them.
  Small refactoring.

Thanks to Bruce Gilstrap for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/90835
ob-R: make it work with older ESS versions

* lisp/ob-R.el (org-babel-R-initiate-session): The PROC argument is
  mandatory for older ESS versions.
Merge branch 'maint'

Conflicts:
	lisp/ox-html.el
Merge branch 'master' of orgmode.org:org-mode
org-table: for compatibility, use org-file-equal-p

* lisp/org-table.el: Predicate function `file-equal-p' is not
  available in older Emacsen, use compatibility function
  `org-file-equal-p' instead.
ox-texinfo: fix bug in 3432681fbe

* lisp/ox-texinfo.el: Add missing argument to call of
  `org-element-property'.
ob-shell: compatibility fix for "Marker does not point anywhere" errors in Emacs 23

* lisp/ob-shell.el (org-babel-sh-initiate-session): After initiating a
  session, initialize the marker `comint-last-output-start' since it
  is going to be used by the ANSI color filter without further checks
  in Emacs 23 and throws an error.
ob-sh: compatibility fix for "Marker does not point anywhere" errors in Emacs 23

* lisp/ob-sh.el (org-babel-sh-initiate-session): After initiating a
  session, initialize the marker `comint-last-output-start' since it
  is going to be used by the ANSI color filter without further checks
  in Emacs 23 and throws an error.
Merge branch 'maint'
ob-R: declare ess-current-process-name

* lisp/ob-R.el: Forward declare `ess-current-process-name'.
org-table: fix docstring

* lisp/org-table.el (org-table-get): Fix docstring.
Fix headline insertion after an empty headline

* lisp/org.el (org-N-empty-lines-before-current): Make sure to delete
  only empty lines, not trailing whitespaces.

* testing/lisp/test-org.el (test-org/insert-heading): Add test.

Thanks to Oleh for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/90876
Merge branch 'maint'
org.texi: Document case-sensitivity of special blocks

* doc/org.texi (Special blocks, HTML doctypes, @LaTeX{} specific
  attributes): Take into account case-sensitivity of special blocks.
Fix 788780296c0642b723598fa09300f2926a39e9f8
org.texi: Be more explicit about output file name

* doc/org.texi (Export settings): Be more explicit about how output
  file name is built.
Merge branch 'maint'

Conflicts:
	doc/org.texi
ox-ascii: Fix filling with preserve break

* lisp/ox-ascii.el (org-ascii--fill-string): Allow filling even when
  `org-export-preserve-breaks' is non-nil.