update to OpenSSL 1.0.1g

- also add unittest configuration and travis-ci file
Merge pull request #16 from MartinNowak/update

update to OpenSSL 1.0.1g
Compilation/porting fixes
Merge pull request #18 from CyberShadow/fixes-20140712

Compilation/porting fixes