Allow using tables and views

pulled out of #31
Merge pull request #100 from AD7six/sqlite3-allow-using-views

Allow using tables and views