LaTeX reader:  Don't error on "%foo" with no newline.
Process: Fix minor typo in pipeProcess' docs

Replace fullstop with comma, adjust capitalisation.
LaTeX reader:  set `bibliography` in metadata from `\bibliography` cmd.
Require highlighting-kate >= 0.5.8.

This fixes a performance regression.
Updated changelog.
Version bump to 1.12.4.1.
Added default.icml to data-files so it installs with the package.
Shared addMetaField:  if old and new values both lists, concatenate.
LaTeX reader:  Support `\addbibresource`.
Updated changelog.
Moved osx package stuff to osx directory; added uninstall script.

Thanks to Daniel T. Staal for an uninstall script from which this
one is modified.
Updated changelog.
Moved make_osx_package.sh back to root.
Code cleanup and debug.

Various cleanups:

- @pkg_info was never used.  Removed.
- Simplified getting the list of files slightly.
- Used list form of system().  This prevents shell interpretation of command and arguments, preventing bugs.  (And solves one.)
- Changed $! (OS_ERROR) to $? (CHILD_ERROR) after system() calls to get the error from the external program.  (Note that $? is the numeric return code from the child program.)
- Allow script to continue after finding some of the files have been removed previously.
- Convert 'warn "…"; exit 1;' to 'die "…";', the more common equivalent idiom.
- Convert 'exit 0;' to 'exit;', to be more clear we are not exiting abnormally.

Signed-off-by: Daniel T. Staal <DStaal@usa.net>
make_osx_package.sh:  Use linker options to ensure OSX 10.6+ compatibility.
Introduce class HasLastStrPosition, generalize functions

Both `ParserState` and `OrgParserState` keep track of the parser position at
which the last string ended.  This patch introduces a new class
`HasLastStrPosition` and makes the above types instances of that class.  This
enables the generalization of functions updating the state or checking if one
is right after a string.
Move `citeKey` from Readers.Markdown to Parsing

The function can be used by other readers, so it is made accessible for
all parsers.
Org reader: support Pandocs citation extension

Citations are defined via the "normal citation" syntax used in markdown,
with the sole difference that newlines are not allowed between "[...]".
This is for consistency, as org-mode generally disallows newlines
between square brackets.

The extension is turned on by default and can be turned off via the
default syntax-extension mechanism, i.e. by specifying "org-citation" as
the input format.
Move `citeKey` from Readers.Markdown into Parsing

The function can be used by other readers, so it is made accessible for
all parsers.
Merge pull request #1297 from tarleb/citations

Org reader: support Pandocs citation extension
Merge pull request #1296 from DanStaal/master

Code cleanup and debug.