New implementation in Typescript.
+ New tests added
+ Changed definition of HOInterval#unite method
+ HOInterval#uniteAll is deprecated and removed from library.