resource/resource_manager: ensure handler format version matches metadata.

resource: moved SER_FORMAT_VERSION_TEST_RESOURCE to serialization
support module for TestResource.

resource/resource_handler: added format_version member.