Call p_readlink to determine symlink size
tests: fix code style in threads/basic.c
tests: fix indentation in repo/init.c
tests: fix indentation in repo/message.c
No bitfields in public headers b/c packing is compiler-specific
Merge pull request #1322 from phkelley/development

No bitfields in public headers b/c packing is compiler-specific
Fix call to readlink
Include <string.h>
Replace call to strnlen with call to strlen
Replace LoadLibrary with GetModuleHandle, since kernel32 is loaded by default

As requested
Moved braces to conform to code style
Merge pull request #1325 from SHyx0rmZ/fix-windows-symlinks

Fix Windows symlinks