Added random library code

- License file edited to include // comments for direct pasting
  into individual source files
- Added Multi-Resolution Colorcube (the thing that makes quantization fast)
- Added in-progress utility code for writing binary files with a printf-like
  interface. Largely untested.