Add alerting and getinfo_MP

Please see notes here guys http://pastie.org/pastes/9733526/text?key=luz9fdv1whtvfhn1sjvckg

Before merging can we grab an hour to build this and run over how it works/test it out.

Thanks
Z
Please no printf. They pollute test outputs and I see no reason for them in the first place. There is CLI parameter `-printtoconsole`, if you want things redirected.