cipher: Show encryption status in the main window statusbar

Add a note to the status bar of the main window when an encrpyted
database is opened.

Also make some methods in the CipherDialog class const.