fix querying by boolean api when using mysql db
make sure that apps cannot have same name in different case
fix tests when running with postgres
add postgres and mysql travis build jobs