simplifying metadata. Fixes #33
generate unique ids when they're not unique
fix dummy metadata bug
use new metadata format in front-end (+minor server improvements)
Merge pull request #47 from DavidBruant/robust-binary-encoding

Smaller metadata and making the converter more robust. Fixes #33