More informative SSG errors
Right now SSG functions return 0 for success and -1 for failure, which isn't very informative. In some paths SSG will print something on stderr, but not on most of them, so debugging programs that use SSG is pretty complicated. It would be nice to have more error codes, like in other Mochi services.