Run environment migration before yaml migration
Fix yaml migration for encodings
Merge branch 'rails3' of git://github.com/CIRANDAS/noosfero-ecosol into cirandas-rails3