Added db_value_from_text2() for setting values with size of text. Added more parameter checks in db_value.
Started implementing MySQL support for the database layer
More work on MySQL support