accounting from kernel (now in PM). Large amount of files in this commit is due to system time problems during development.
The call works. Permission check, restriction of outstanding notifications to be added. Low level code to make it work from within interrupt handlers will be added as well.