Update rgbaster.js

- randomised pixel sampling
- @method getPalette
- averaging of colours to nearest #RGB value for counting
- fixed bug in calculating top colours
- return value { name, percent }[]