do realpath() immediately after parsing "path" parameter
in order to cope with symlink
new function realpath_safe()
fix: basedir regex symlink problem
remove realpath() in afp_openvol()
because it has already been done, when parsing afp.conf
ignore duplicated or nested volume path
Remove unneccessary call to getcwd()

getcwd() was called after a chdir(vol->v_path) in order to copy
the path to vol->v_path. But as v_path is now already set in netatalk_conf.c
when parsing the volumes config, this is not neccessary anymore.
Move realpath_safe() to libatalk/util/unix.c and make it a global function
Avoid excessive path copying when checking for duplicate or nested paths
Add ABI file
Bump ABI
Ensure the volume path is '/' terminated and allow nested volumes

The previos change to the way checking for duplicate and nested paths only
works if the path is terminated with a '/'.
Allow nested volumes. This was working in 2.2 and can be used eg for sharing
a ZFS snapshot directory of a volume. Afaict it only works with sane AFP
semantics by adding 'cnid sheme = tdb' to the nested volume which also
makes it read-only and by adding the name of the nested directory to
the veto name list.
Fix memory leak and use descriptive variable names
Fix memory leak and use EC_FAIL instead of returning directly
Fix check for nested and duplicated volume paths

The previous modification was based on ensuring the volume paths are
'/' terminated. That allowed for a simple and quick implementation of
the neccessary tests. Unfortunately that completely broke the whole
directory machinery and cache.
This patch reverts the previous change and tries another simple
implementation that avoid copying the paths.
Fix a bug where Mac OS X ZIP archives can't be extracted on Netatalk shares

Mac OS X ZIP archives may contain split AppleDouble forks named "._XXX".
The client needs to be able to fully access these files but we currently
prevent access to any valid AppleDouble file whose name starts with "._".
In order to distinguish our own ._ files from the one created by OS X,
we look at the filler bytes: luckily OS X stores a string "Mac OS X" there
which can be used to detect them.
Fix: add a '/' between basedir and subdir in the path for home volumes
Move (unused) file gettok.c to libatalk
Reintroduce file extension type/creator mapping
apple_dump: use open2(), from Oichinokata
Merge branch 'develop' of git://github.com/franklahm/Netatalk into develop