Check for strlcpy(). Implement it if it's not found.
Remove strndup() implementation. If the platform has no strndup(), use malloc() + strlcpy().
Save ourselves from checking for null twice on platforms without strndup().
Merge master, fix conflict.
Merge pull request #434 from ggreer/resurrect_strlcpy

Remove strndup(), resurrect strlcpy()