RFAPIDefineManager, change defineCache to NSCache.
Remove duplicate.
RFAPI, use defineManager directly.
RFAPI, move default serializer to define manager.