move getStats to adapter.js

@bemasc Where can we find the spec for getStats? The WebRTC spec seems to be missing details... do you know?