Block cipher operation modes: ECB, CBC, CTR and CCM

Hey.

This is the followup to #1200. Refactored, rebased and without the crypto shell example. It adds support for ECB, CBC, CTR and CCM (RFC 3610) block cipher operation modes. This is the version we are currently using in our DTLS working branch. To omit a pull request of death for DTLS we would be happy if we could manage to merge this before.

Regards
Nico
That's all legacy code written by Hauke Petersen. I trid to fix coding style issues with 41695d0