Schema types refactored

- support for nullable types (where 'null' is one of possible values
  of element in request object);
- common code to add search matchers for all element types;
- minor code improvements.

Change-Id: I81d65415963922c872959ba4d83a80a5422b2270