Enhanced the DSO module

1 Extract the api of nginx for compiling DSO module.
2 Remove the dependence of nginx source, when compile the DSO module.