Add decodeWithMetadata function and improve documentation
Add decodeWithMetadata function and improve documentation

TOMOAKI12345/openassets,olalonde/openassets,illan/openassets-js,ChromaPDX/openassets,cloudzombie/openassets-js,andrewfhart/openassets