Validate MBean pattern and LLD macro name.

Validate MBean pattern (only blank string check for now), and
validate LLD macro name.