op_init() has to return status

If malloc() fails, we have to assure that nothing crashes. If malloc fails, we
return zero, else we return 1 from op_init().

So we can ensure that nothing wents terribly wrong in here.

Fixed tests for these changes, so we can return from testing if malloc() failed.
removed useless const keywords
updated for next version
Merge branch 'rework-api'

Merged rework-api in master as building testing was successfull.