Add function to check if subkey is primary (sub)key
* src/key.cpp, src/key.h (Subkey::isPrimaryKey): New.
Sometimes it's necessary to know if a subkey is the primary (sub)key.
The new function provides a fast and easy way to check this.
- GnuPG-bug-id: T8321