onRequest and sendRequest deprecated in v20 (dev branch)

fixes broken api calls for v29.. onRequest and sendRequest deprecated in v20. 

I was going to include a backward compatibility for <= v19, but there was a chicken and egg problem with sending the browser version to the background page so I didn't bother.