Updates to circumvent YQL issues.

Reissuing this pull request - didn't realize that I hadn't squashed all of my commits the first time (I'm a commit-aholic).

Well, this might be a bit unnecessary now if the YQL stuff is now working and the API additions are coming soon, but it's here if you're interested.

Your file reorganization makes it look like this pull request is more disruptive than it actually is - the only two files I actually modified are manifest.json and functions.js.