Make withsqlite work with multithreaded programs.
The plinth application used by the Freedombox project triggered an
exception in withsqlite when looking up users from the sqlite file,
see <URL: http://lists.alioth.debian.org/pipermail/freedombox-discuss/2013-September/005691.html >
for some details.  This patch make sure the sqlite file is opened in
multithread mode to solve the issue.
Make it a runtime option if sqlite3.connect() should use check_same_thread or not.
fix jsonize to handle values with quotes

previous version would fail with f.e. val = 'foo"bar'
pep8 compliant
Add setup.py and LICENSE for distribute more easily.
Add .travxs.xml for continuous integration. Put all test cases into test
folder and add a script (runtests.py) for run them. Python3 compatible
and another little changes to get a better API.
Merge pull request #4 from agustinhenze/master

A bunch of changes for get a good debian package
Fix merge conflict.
Merge p1otr/withsqlite: save values with quotes.
Merge petterreinholdtsen:plinth-multithread:

Make withsqlite work with multithreaded programs.

The plinth application used by the Freedombox project triggered an
exception in withsqlite when looking up users from the sqlite file,
for details, see:

http://lists.alioth.debian.org/pipermail/freedombox-discuss/2013-September/005699.html

This patch make sure the sqlite file is opened in multithread mode to
solve the issue.
Leftover, make sure to save the check_same_thread value in the object for use in connect().
Merge pull request #1 from petterreinholdtsen/handle-multithread

Handle multithread
Unit test for 2nd table in same db file.
Add test checking how working with multiple tables.
Currently fail when several tables are used in the same sqlite file.
This causes problems for plinth.
Check table is created for every new instance.
Merge pull request #2 from petterreinholdtsen/test_multi_table

Add test checking how working with multiple tables.
Merged: jvalleory's Fix to allow more than one table to be used in same db file.

Used the old test, as that one succeeded.