Fix package building problems, update travis config to test for that,
and fix injection in CryptoStorage