Import ratings module unmodified from http://codex.galleryproject.org/images/0/0a/Ratings.zip

This commit imports the Ratings module from the gallery wiki.
I think it would be good to have this in gallery3-contrib, so it is more easily available and can be more easily improved.