[API-Design] Custom major and minor time interval arrays 

Right now there is no endpoint to manipulate possible time intervals for major and minor ticks.
With this PR I introduce an API endpoint to provide custom time intervals.
To cover basic scenario I provide function, which easily can filter existed interval within some range. It might go directly to previously mentioned API, which will accept array or desired range.
can you please give a description of what a time interval is, and what the steps are, and what the steps will do?
if you are going to export an interface that is part of the API give it full jsdoc like they are function arguments, with names and types of each parameter and a description of how the parameter works. i find steps and timeUnit/nextTimeUnit confusing.