Each Sabot Wrapper needs it's own state alloc

Otherwise we end up double-destructing some objects, which causes a
SIGSEGV wiht GCC 4.9

This is the code gen version of issue #13
Merge pull request #67 from cmaloney/issue-62

Each Sabot Wrapper needs it's own state alloc
Merge remote-tracking branch 'upstream/master' into svr-side-cc