add some resource and lib
refact JNotify Listener
fix concurrent register bug
fix the bug of stage displacement
change collections in FileListener synchronized
add lock object to guarantee the atomicity of register
trylock() will return immediately and lead some logreader faild in register code
Merge pull request #51 from LantaoJin/master

refact JNotify Listener
Merge pull request #52 from ErikFang/master

fix bug in collector.completefile(), file rename should be done immediately
Merge pull request #9 from dianping/master

sync