finished key upload implementation
Merge branch 'xgazdik' of github.com:petrs/WSNProtectLayer into xgazdik