Extended signature validation to support signed assertions

This is a working solution for the issue #37 "Support of signed assertions".

<!---
@huboard:{"order":32.0,"custom_state":""}
-->