example added and setrating method optimized
Merge branch 'master' of https://github.com/railskarthi/Ratingbar