Add support for pre-selecting items to connectors/bookmarklet

This goes along with zotero/zotero#191

Hopefully I changed everything that was needed. Have not tested it yet, since I haven't figured out how to compile connectors yet (I'm sure it's not difficult, just never had the need to)