Get rid of deprecated functions
Disable SDL compiler option to fix assertions
Set subrange only in DEBUG
Another fix so SubRange will run only under DEBUG
Merge pull request #40 from dannycoh/develop

Fix SDL assertions and the SubRange template