added int cast for selectCount method
moved getLastInsertId to query class
added multiinsert
renamed append to writePipe
Merge pull request #4 from LinguaLeo/multi-insert2

Multi insert2