Passing blank key when updating a schedule metadata does not throw an error

Added checks for '' and whitespace-only keys and raise appropriate exception for HTTPBadRequest as well as display a user-friendly error. Wrote three test cases.

Fixes rm1002