Replace raw pointers with smart pointers.
Update thrift patch.
Add more general message handler macro: REGISTER_MESSAGE_HANDLER_FULL.
Make variable const.
Add checks for unknown and duplicate message ids.
Merge branch 'master' of github.com:ahilss/thrift-nacl