Added migrations to upgrade geonode from 1.2 to latest dev

This replace my previous pull request.
Now if you have your 1.2 database, running the migration will update your database to the latest development version.
Any modification/integration/comment appreciated