Core: Use std::array for managing kernel object space

These avoid relying on memset for clearing the arrays.
Merge pull request #61 from lioncash/kernel-stuff

Core: Use std::array for managing kernel object space