Merge pull request #106 from somini/master

Fixes incorrect focus during training
Fix parameters for Travis
Add Travis building support
Merge pull request #112 from Akeru/travis-ci

Add Travis building support
Fix crash when adding entry to list below it

The changed signal for the modified nodes was emitted just after the
model was modified, but before Qt had the information that the model
was changing. This was causing it to request data on invalid indexes.

Now the changed signal is emitted after the layoutChanged signal.

Fixes #79
Merge pull request #115 from guillaumecl/fix-move-crash

Fix crash when adding entry to list below it
Have the preferences window original accomodate its content

One of the labels had large text, with wrapping. If we don't set its
size policy to Minimum or MinimumExpanding, Qt does not properly set
the minimum size for it, then the dialog reduces some widgets
(typically those who can work at smaller sizes like combo boxes)

Fixes #67.
Fix creation of folder for saved searches

The rowid field of the saved search was not set to NULL when adding a
new folder. Since there was a missing field, the creation of the new
row failed and the folder was not being added.

Fixes #73.
Merge pull request #116 from guillaumecl/gui_fixes

UI fixes
Bump sqlite version and program version to 1.0.3