media: not pass apiVersion using params parameter
media: not pass apiVersing using param parameter
media: update to new coding rules
core: handler `apiVersion` parameter in wpcom core
media: use util request function
media: add default object
test: improving code
request: add util request module
media: update addFiles using request object
media: update addUrls using request module
media: improve defining vars
media: implement `delete` using request module
batch: update to new design guide
request: add `delete` method
core: remove break line
request: rename to .js
batch: use `request` module
request: `def` parameter could be undefined
media: use request.post instead of update
request: add `put` and rename `update` to `post`