added a Sqlite extension with convert_to_integer and convert_to_numeric functions
made sqlite version work again, fixed some bugs