bug fixes

- check for correct handle type in SqlStatement:LoadResultSet
- return error for ColumnDataToNumeric to avoid warnings
- Fix temp-file location to use session:temp-dir
- Use get-class() for static typing