Fix for task #3994 - Resource Meta inheritance issue  

The fix ensures that every API Resource Meta class in the api.py files inherits from BaseResource.Meta class (Task #3994)"