fixup service filter interface
Summary:
Based on a more thourough reading of finagle's interface:
* adds close/isAvailable, which seem very close to thrift's interfaces
* ComposedServices are hardcoded to underlying services, to simplify the code (means extra allocs?)
* Made everything a shared_ptr
* Addd ServiceFactoryFilters
Test Plan: Updated the existing unittests and added some new ones
Reviewed By: jsedgwick@fb.com
Subscribers: doug, fugalh, folly-diffs@, jsedgwick, yfeldblum, chalfant
FB internal diff:
D2037206
Signature: t1:
2037206:
1432147489:
3464d4c12a9e434d4973febcabbf7b2b3a883257