Replace all deprecated sendRequest() calls with new sendMessage() ones

Fix for #820.
Tested on Google Chrome 28.0.1496.0 dev on Debian Sid x86_64.