valid_type? added to super class abstract_adapter

added comments to test_invalid_type in sqlite3 adapter test and added valid_type? method to abstract_adapter.rb