Added ECGKeyUtil class which contains key exchange utility functions

This class contains utility functions which are used in order to perform the
ECG key exchange method, such as encode/decode of public/private keys.