change this page to use the new db schema for average ratings
lol im an idiot now it runs super fast
change advanced search to use new scheme for avg rating
changed the rating code to adapt to the new average scheme