Add unit test coverage for switch theme controller.
Improve code for handling out of bounds theme indexes.
Setup of protractor tests.
Organization of client tests.