Added the migrations to move layer stuff to base.
Merge branch 'migrations' of https://github.com/capooti/geonode into migrations
some fixes