add interval definitions, add scale.getIntervals method, first tests on scales