BK-1267 Django migration is broken with license model changes

This fix the problem when running the migrations on a new instance of Booktype 2.0. I did a little fix to the before_pull_request.sh script because it was taking in account the migration files.