Small adjustments; Change sqlite to 3.7.16.1

Ajustes no database.c e .java