This commit refactors and reorganises the `memory.rs` module. Now, it consists of two submodules: `memory::ptr` which contains `GuestPtr` and `GuestRef` (and their mutable versions), and `memory::array` which contains `GuestArray` and `GuestArrayRef` (and their mutable versions). This commit also adds basic unit sanity tests for the `memory::ptr` submodule.