Allow network-wide queries

Closes #13 .
Done, but I added it at the end. That way it can be totally ignored if anyone wants to hook in here and doesn't need the blog id (e.g. a non multi-site feature).