Refactor client sync code, more client tests
Refactor filer-www so it can use different handlers
Default and JSON handlers
Break handlers up for default, json (and later zip)
Reduce duplicate code in route setup