Gsoc 2014 message carbons

Please review the message carbons implementation.
@pzel : So I should add a different check function for all the condition checks?
And do you mean writing some tests in test suite for each condition?
I have written the test suite keeping in mind the conditions given in xep page. Your suggestion is good. There might be some more test cases possible here.