fix readlink in Mac OS
merge from google code
color
example conf
merge tx files
remove dupl
Merge pull request #2 from whuwxl/master

fix readlink in Mac OS