Refactor Nepgear class to be usable in tests and handle init/deinit stuff for any globals/libs.
Add VFS test and missing main.cpp from previous commit.