Fixed test.
Set -Wall flag on all compiles.
Fixed compiler warnings in thread.c
Bump version number.
Merge branch 'release/1.0.1' into develop