Merge pull request #6 from jsilvestre/master

Kloadut's PR + functional tests bootstrap
Fixed: a log wasn't made through printit
Added: files app helpers (+ end of first functional test)
Added: function to cancel sync
Added: command to reset local database
Added: more tests (+ helpers refactoring)