API call data verification

Created a decorator to verify request JSON data for API endpoints.
Moved entity & meter verification into their respective models.