Copied serpro's api
Manual merge of serpro's API improvements, copied from participa/noosfero. All authors of the original code can be found there.
Manual merge of serpro's API improvements, copied from participa/noosfero. All authors of the original code can be found there.