Merge pull request #228 from da2ce7/static_analysis

Static Analysis: Windows building without any warnings now :)
Updated gitignore
[ok] Ctrl-C works correctly, HUP too. No hangs.

Correct way to handle signals.
Tested on linux (debian).
Removed debug about done installing signal handler
windows fix for signal handler
Various tests
[fix] added missing include for abort()
[fix] __FUNCTION__ missing in OTPassword linux
[fix] more changes szFunc to __FUNCTION__ (linux)
[wip] working on the runnable for pid locks
[fix] linux no io.h just use unistd.h for write()