Using rake file to fix existing denpency problem in databse

Should run "rake dbfix: pos_denpendency" on the production server. I've tested on my local, it works.
It should run without side effect for all courses.