org-agenda: Switch to current API for two calendar calls

* lisp/org-agenda.el (org-agenda-phases-of-moon, org-agenda-holidays):
  Update to use the current API

This commit fixes the display of holidays in the agenda for emacs 25.

Further for getting the lunar phases the usage of an obsolete alias
has been replaced by the current name.
ox-publish: Fix publishing components asynchronously

* lisp/ox-publish.el (org-publish): Ensure asynchronous process
  doesn't encounter :components parts in the project, as it may not
  know how to expand them.

Reported-by: Julien Cubizolles <j.cubizolles@free.fr>
<http://permalink.gmane.org/gmane.emacs.orgmode/92319>
ox-taskjuggler.el: Fix fetching of dependency options

* contrib/lisp/ox-taskjuggler.el (org-taskjuggler-format-dependencies):
Pass string that was used in string-match to
org-match-string-no-properties. This fixes a problem with dependency
options.
ox-taskjuggler.el: Fix a link in the commentary

* contrib/lisp/ox-taskjuggler.el: Fix a link to an example project
planning file by Peter Jones.
ox-taskjuggler.el: Add a note about multiline properties

* contrib/lisp/ox-taskjuggler.el (org-taskjuggler-valid-task-attributes):
Add a comment saying that multiline properties are not supported.
ox-beamer: Fix undefined reference with internal links

* lisp/ox-beamer.el (org-beamer-target): Use label macro instead of
  hypertarget.

Moreover, target syntax cannot take advantage of hypertarget's second
parameter.

<http://permalink.gmane.org/gmane.emacs.orgmode/92455>
ox.el: Add pt_BR translations to export engine

* lisp/ox.el: (org-export-dictionary) Add pt_BR messages to the list.

TINYCHANGE
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.