Ranges: support for delimiter between range elements

Contains only implementation, based on #264. Proposed syntax and tests in next pull request.