Generate binary versions of certificate (#410)

Include binary certificate and key files on firmware generation.
Fix PEM to DER export command for certificate (#410).
Merge branch 'bug410'