Fixes #5178, enable STRICT_TRANS_TABLES in travis and fix remaining tests that do not pass w/ this mysql setting. Includes fixes to PrivacyManager plugin and fix for tracker when non-unicode site search keyword is stored in the DB (instead of storing the data as non-utf strings, we store the data as urlencoded if the keyword is not valid utf-8).