add isclose call close many times
add mutex
fix close err
sync quickstart.
Merge pull request #85 from Unknwon/master

sync quickstart.
fix logrotate close fd before rename file, add a MuxWriter for Logger
Merge pull request #86 from slene/master

fix logrotate
add config to countol if enable hotupdate