beremiz

fix Traceback if search icon on library panel is clicked, when no
category/item is selected in the library.

The problem is here, that if nothing is selected method GetSelection()
returns root item, that doesn't have any python data associated with it.
This issue seems to be wx3.0 specified, because it doesn't exist
with wx2.8 on Windows.
To generate message.pot file:
python mki18n.py -p --domain=Beremiz
To generate .mo files for all languages:
python mki18n.py -m --moTarget=../locale --domain=Beremiz
To generate app.fil:
find .. -name "*.py" -exec grep -q '_(' {} ';' -print -o -name "*XSD*" -print -o -name "*.csv" -print | grep -v '/build/' | grep -v '/pyjs/' > app.fil