Implementing a native version of flash.display.BitmapData.paletteMap.
Use the sourceRect and its width and height, not this BMD's rect and dimensions.
These floats should be ints.
Merge pull request #124 from bendmorris/master

Implementing BitmapData.paletteMap function