Added an implementation of strchrnul for platforms (such as Mac OS X) that don't support it
Merge pull request #4 from flarn2006/master

Added implementation of strchrnul