RangeSet fixes

- add spinlock to protect rangesets.
- add a Count value to check against empty condition in audit.
- use LONGLONG in ranges rather than ULONGLONG so that ranges can be
  invalidated by setting Start > End.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #21 from pauldu/master

RangeSet fixes

Approved-By: Ben Chalmers <Ben.Chalmers@citrix.com>