Click search result to open note
Move functions from mikiwindow.py to mikiview.py. Add more tests.