kernel: Add caching management to paging code

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>