Updated .gitignore
Refactor source

Moved yaml code to libyamlCPP. Polarssl code removed. Remaining code
cleaned/updated.