Enable passing in function to readOnly and scoreName options

Hello,

I make some change to enable passing in function to readOnly and scoreName options. Please review.

Also, what's the preferred way to create minified JavaScript (jquery.raty.min.js)

Thanks,
Armin