Documentation fix

* doc/org.texi (Include files):
* doc/orgguide.texi (Include files): Remove reference to non-existent
  "quote" markup.
org-list: Fix typo in docstring

* lisp/org-list.el (org-list-repair): Fix typo in docstring.
org-footnote: forward declare functions

* lisp/org-footnote.el: Forward declare `org-element-context',
  `org-element-property' and `org-element-type'.

Introduced with 51e1131ff8.
Reverting "org-footnote: forward declare functions"
Revert "org-footnote: forward declare functions"

This reverts commit 814188ac7e25c500433c13d8696af47d62f0de23.

Accidentally applied to the wrong branch.
org.texi: Add f-1 to TBLFM example about nan

* doc/org.texi (Formula syntax for Calc): Add `f-1' to TBLFM example
about `nan'.
org.el: Fix setting and deleting properties with a null value

* org.el (org-property-re): Also match null properties by
default.
(org-entry-delete): Also delete null properties.
(org-read-property-value): Allow the empty string as a new
value.
(org-delete-property): Throw a message when there is not
property to delete.

Thanks to Andrea Rossetti for reporting this.
org-agenda.el (org-agenda-custom-commands-local-options): Fix misquoted values

* org-agenda.el (org-agenda-custom-commands-local-options):
Fix misquoted values.

Thanks to Thomas Morgan for reporting this.
Makefile: remove empty line in help output

* Makefile (help helpall): Remove empty line in help output.
mk/server.mk: add testing/ directory to distribution tarball

* mk/server.mk (ORGFULL): Add testing/ directory to distribution
  tarball.
ox: Fix priority bug in :title property

* lisp/ox.el (org-export--get-inbuffer-options): Return the empty
  string instead of nil when TITLE keywords has no value.
(org-export--get-buffer-attributes): Do not set :title property
early.
(org-export--get-global-options): Do not ignore anymore nil values.
Small refactoring.
(org-export-as): Correctly set :title here.

Thanks to Nicolas Richard for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/87149
Fix typo

* lisp/org.el (org-scan-tags): Fix typo in docstring.
org-get-wdays may return fractional number of days
org-deadline-close obeys sub-day "closeness."
org-deadline-close returns T for incomplete, overdue item.
Don't add so many newlines when archiving

This hopefully solves two cases:

1. Extra newline(s) when not archiving under a specific headline
2. Extra newline(s) when archiving under a specific headline.
Add :collapse-steps argument to clocktable

This lets me use :step but have each step generate rows in a single
table.
Don't use insert-before-markers when pasting

This line was first changed from insert to insert-before-markers in
218feee7.  This commit changes it back.

Problem is this: when you capture with a :prepend t template to the
(point-min) in a buffer, capture creates an indirect buffer and then
does (org-paste-subtree) into it, which was using
(insert-before-markers).  As near as I can tell, (point-min) is
implemented with a marker, so (insert-before-markers) at (point-min) in
an indirect buffer actually ends up moving (point-min) forward in the
base buffer.  The result is that you just captured something but you
can't see it in the buffer it was captured into, because that buffer was
narrowed.

I'm not sure what the consequences of this change will be, but I'm
willing to try it so I don't go crazy wondering why my journal entries
are missing until I revert the buffer (or notice that it's narrowed).
Case sensitive match todo keywords in statistics

With my default case-fold-search value this code would match a
headline with text such as "Done back in may" as starting with the
DONE keyword, this inflating my statistics.
Add REFILE_REVERSE_NOTE_ORDER property

This lets you change the value of org-reverse-note-order when refiling
to a subtree.  I use this because I usually like to refile to the
beginning of a heading, but I have some "queue-like" headings where I
want to refile to the end, not the beginning.
Don't change visibility when archiving

This may well break something, but it keeps me from seeing all my
buffer when archiving to a subtree in the same file.  It doesn't seem
to break archiving to a separate file, either.