Fix compability with catalog and homepage
Merge branch 'rails3' of git://github.com/CIRANDAS/noosfero-ecosol into cirandas-rails3