update composer json, syntax errors
add composer paths to gitignore
add support for statsd output
update example for statsd