Options: added workaround for unit tests that use the parser
testsuite: Wrote bcfg2-crypt end-to-end tests
bcfg2-crypt: Fixed several bugs in autodetection of encrypt/decrypt mode