Improved the "inject" function

- Use of the chrome.tabs.executeScript function's callback parameter to
wait until jQuery and the API are fully loaded before executing the
user's script, this replaces the previous use of setTimeout with an
approximative value of timeout.