Merge pull request #116 from aadomnqredo/bls_and_more

Add IETF-compliant BLS and fix many code smells reported by sonarqube