Fix crash in RangeMap

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed unused method definition from RangeMap

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Created simple Range class

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added simple unit tests subprojects with tests for Range

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Fixed bugs in RangeMap::nextMissingRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use Range class instead of RangeMap::Range struct

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Better implementation of contains method in RangeMap

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Better implementation of insert method in RangeMap

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Better implementation of RangeMap::nextMissingRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed unused method from RangeMap

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use m_ prefix for private members of RangeMap

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added tests for RangeMap class

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added GPLv2 Licence to new files

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Merge pull request #19 from vogel/range-map-rework

Range map rework merged. Accepted by curtishall.