Added fallbacks to flux.sh in case realpath is not available.

The bash script now uses $BASH_SOURCE to find out its name. If
`realpath` is not available `readlink` is tried. If this is not
available the script attempts to extract link targets from ls
output. Link resolution is now only attempted if $BASH_SOURCE
contains a soft link.
Fix issue #161

Moved the logic for creating a buffer to allow direct access to the
characters in a string into the StringUtil class. The code was fixed to
always create a buffer that is large enough.

Changed AbstractFormatter and FormetaParser to use the new method in
StringUtil.
Updated PicaDecoder to use StringUtil.copyToBuffer.

The original implementation in PicaDecoder had a bug (see issue #161).
By refactoring the code to use the new StringUtil.copyToBuffer method
this is fixed.
Improvements to LineSplitter

Added flux-annotations to LineSplitter and added it to flux commands.
Wrote test cases for LineSplitter.
Added Receiver interface

Added an interface to group all receiver interfaces used in Metafacture.
This allows to make the template argument to Sender more specific.
fix #160

AbstractTripleSort threw NullPointerExceptions if it received a
"memoryLow" message before the first record was processed.
Merge branch 'fix-issue-161' of https://github.com/cboehme/metafacture-core into cboehme-fix-issue-161
Merge pull request #166 from cboehme/line-splitter-improvements

Improvements to LineSplitter
Merge branch 'add-receiver-interface' of https://github.com/cboehme/metafacture-core into cboehme-add-receiver-interface
Merge branch 'cboehme-add-receiver-interface'
Merge pull request #169 from cboehme/fix-issue-160

fix #160
adds triple-to-stream in order to process viaf-dump data for entityfacts
so you are able to morph after redirect
Replaced binary or with boolean or
Merge pull request #170 from schaeferd/triples-to-stream

adds triple-to-stream in order to process viaf-dump data for entityfacts
catches stream exception
Merge pull request #172 from schaeferd/catch-stream-exception

catches stream exception
Adds a Metamorph function for generating timestamps.
(cherry picked from commit 0b882feac55b075e27239d733e83a4e576ff0862)
Adds a dateformat function to Metamorph for converting various date formats.

(cherry picked from commit 0b882feac55b075e27239d733e83a4e576ff0862)
(cherry picked from commit 37f4a547cddeff57a4f954150a121b142357f41f)

Conflicts:
	src/main/java/org/culturegraph/mf/morph/functions/DateFormat.java
Adds pretty printing and configurable character escapes to the JsonEncoder.

(cherry picking from commit 0b882feac55b075e27239d733e83a4e576ff0862)
Adds the ability to escape the @-character in Metamorph names

Metamorph uses the @-character to mark data that should be fed back into
Metamorph for a second round of processing. However, sometimes one wants
to uses an @ in a key name without triggering the feedback loop.

(cherry picked from commit 0b882feac55b075e27239d733e83a4e576ff0862)
(cherry picked from commit 7e8189b2659f583c13b825910d2b4b623311bce8)