added normal and valgrind test targets
Merge branch 'master' into port_osx
zero out wordexp structure before use

there seem to be memory allocation issues on osx without doing
this.