GDI font height >=1, fixes issue #73
JNI parameter type checking fix

The core problem I found was that jclass variables were compared using
equals (==) operator assuming it could be used like that.  I think that
after the JNI changes in ICS this is no longer true.  I solved the
issue by using the IsSameObject() function on 2 jclass variables.

 - Use the global FindClass() function when you need a class.  This
global function looks up the class and also creates a global reference.
 It also keeps a registry so there only needs to be one global
reference.
 - Use IsSameObject between class objects to compare classes.
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.
Fix bytesLoaded and bytesTotal not being set properly
Merge pull request #125 from player-03/Sound-metadata

Sound.hx: Fix bytesLoaded and bytesTotal not being set properly
Merge pull request #124 from bendmorris/master

Implementing BitmapData.paletteMap function
Merge pull request #117 from xastor/master

JNI parameter type checking fix
Merge pull request #116 from edib0y/fix/73_textfield-scaling

GDI font height >=1, fixes issue #73
Return null if OpenALSound had an error
Wave audio fix
Merge remote-tracking branch 'upstream/master'