critical fix to make callback_storage thread-safe

Hi Matt, 

feel free to discard the changes to demo/main.cpp as I used them mostly to demonstrate the bug. 

I do recommend you pull the update to cql_callback_storage.hpp though as it fixes the race condition reported in #44. 

Cheers!