Add travis check for disable-wallet compile mode

This makes Travis-CI ensure that a new PR doesn't break the capability to build a wallet-less version.

Not ready for merging yet, I want to test some performance improvements first.