Fix duplicate header bug.

This fixes a bug where Chrome will sometimes double report the x-dropbox-metadata header, making the metadata JSON parsing more robust.

This resolves dropbox/dropbox-js#109 by handling the times when Chrome returns a duplicated header.