[dsm] Added -lpthread to the DSM plugin linker.
[dsm] Added the open and close functions as init and uninit commands.
[dataFaker] Moved -lm to the end of the dataFaker compile line.

I was getting an "undefined reference" error when trying to link dataFaker
for the sin, cos, etc functions. It turns out the math library should be
linked at the end of the line when using gcc.