Fix bugs in SearchIndex
Add indices for MediaEntry and MediaTag.
Add schema for MediaTag.
Register schemas for MediaEntry and MediaTag.