Add module selector in theme editor

Module choosed in the module selector will determine a list of
available themes (which are just themes available from that module
and its dependencies) and also will be used as a rendering context:
the same theme available from different modules could be rendered
differently based on which module you use for resolving resources.

Related changes done here include adding a new parameter of theme
editor's state (a name of selected module) and minor change in
theme editor UI test fixture.

Change-Id: I4894177205fc0fbbee98e7d6ceea99bd9b402356
11 files changed