enable valgrind --track-fds=yes
Fixing problems highlighted by the clang static analysis.

Fixes #29.
http://clang-analyzer.llvm.org/scan-build.html
Merge remote-tracking branch 'origin/switch'
test: more arguments on valgrind
Merge remote-tracking branch 'my/master' into switch
Merge remote-tracking branch 'origin/switch'
Updating the suppression stuff.
Adding a couple of small checks.
Merge remote-tracking branch 'origin/switch'