Major refactoring.

- Added NUnit test result XML to gitignore.
- Refactored all DG-prefixed class to a DS prefix.
- Some major progress on the API namespace.
- Trends, and Tables.
- Added TimeRange and Interval classes
- Tests for TimeRange