Updated with more flexible metadata.
fix metadata.json formatting.  Update MetaData.js
Rig up to use new metadata.
Fixes for new metadata.
Make SNP popup also use new metadata correctly.
Added D3 and sprintf