Support for Mono and Mono Debugger

- Slightly changed the project file (MonoDevelopment)
- Comment out unused vars (need for debug)
- Updated MySQL Connector
- minor code changes for compatibility with mono runtime.