tests(cockpit-webapp): add client side unit testing infrastructure

- it is now possible to unit test parts of the application using karma
- documented in cockpit/README.md
- adapted filter mechanism for cockpit plugins to work without server
  side filter

Closes CAM-802