Major refactoring to range attribute. It now works with map, seq, str, int.
Added tests to validate for map & seq.
Fixed a minor bug with range validation where min/min_ex and max/max_ex was checked in a wrong way.