Unit-testing on INSERT and small improvements

Started uni-testing block on INSERT command.
Fixed a typo on insertid function.
Added the possibility to specify whether or not use
mysqli_real_escape_string on quote method.
Added two methods to gather information on tables and the ability to
dispose the connection to the database.