Initial version, still needs to be tested
Updated documentation
Unlock keychain if needed; don't pass bundle id parameter to codesign if not given on command line