Added Spektral.setAttributes and test for it. Added String.js.