Remove 'secure functions' warnings from MSVC build

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Remove win-styled 'safe functions'

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Merge branch 'master' of github.com:nanomsg/nanomsg

Conflicts:
	src/core/global.c
Fix MSVC compilation errors.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
fix some coding style
Merge pull request #223 from pipul/dev-20140322

some small fix
Merge branch 'master' into dev-20140322