(#2529) - add phantomjs function.bind to common errors

Also update the SQLite plugin github url.
(#2537) - update pouchdb-server
(#2540) - add referer to recommended cors headers

You actually need it for Chrome in web workers.
(I confirmed while testing PouchDB Server.)
(#2497) - fix attachments in Chrome and IE