Merge pull request #1 from houqp/master

minor changes
Add support for legacy data format. Add percentile support
move to 4 spaces
Calculate percentiles on update. Fix stuff
fix metrics init for percentile type
Fix percentile emission. Also include the average for percentile
push processing to separate thread
Replace print statements with proper logging

Fix legacy socket select. Add timeout.
bump version
Remove MANIFEST file
Fix legacy metric processing.
Bump to 1.0.0
Sleep to not kill CPU. Add hostname flag
bump ver
Add some documentation

Switch to setuptools so 'install_requires' can be used.

Bump version
Basic config for travis-ci. Create test dir.
Fix package name
Add sudo for pip install for travis-ci
Add build status to README.md
Typo