CardView: fix typo when in focusApplication, and provide a way to test t...

...his focus behavior in DummyWindow.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>