Certificate comparision feature

Added accessors for subject and issuer in distinguished name string format to make certificate comparision for issuer chain possible. Tests extended and added phpunit for automated testing.