added sql_debug option
Merge branch '3.0-beta' of github.com:cjemagid/skyphp into 3.0-beta
added missing functions from 2.2