added json encode/decode aliases
many fixes + new methods

delete method now returns count of deleted rows
added: alter, showEngines, showCollation, renameTable