Merge pull request #180 from CyaNox/master

Fixed Static.getDouble32() so that it works with most valid float values.
Merge pull request #181 from CyaNox/master

Altered query() to support more data types. Fixes: #2825.