Make message expiry configurable

Simple change that allows for tuning how long the messages stick around..

Optional local.json config key `ttl` lets you control the time to live (in ms).
using nconf instead of loading configuration again
adding ttl configuration example
style tweaks
Merge pull request #198 from eggsby/patch-1

Make message expiry configurable