Use the RESTAdapter as the basis for both the SailsRESTAdapter and
SailsSocketAdapter to improve the consistency between the 2 adapters.
Merge pull request #25 from bmac/extend-rest-adapter

Use the RESTAdapter as the basis for both the SailsRESTAdapter and