adding casablanca (rest sdk)

Lots of tweaking, rest sdk is meant to be built as a dll.
remove defines

no longer needed for casablanca.
made the sample work

now you can actually read the query results.