[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.
Not a fan of the recursion here since later development down the road can easily have this lead to bugs.  A better workflow in my view is...

Have some var which is some TimeIntervalDefinition[].  If param is an array then set the var to this, else set the var to calculateLowerBoundDefinitions

You'll lose the complexity in the recursion and both branches now fall into a clean singular code path