Azure RT, SQL fixes.
RT fixes, etc.
Merge branch 'dev' into dev-rt-sql-fixes
Merge pull request #1970 from jeffwilcox/dev-rt-sql-fixes

Azure RT & SQL Fixes