Make APIServer take an Encoding interface

Removes need to have encoding/decoding methods on RESTStorage. Storage
controllers no longer dependent on scheme or version transition.