fixes #706 - possibility to choose cgeo main directory on external sd

Added the possibility to set the main c:geo directory e.g. to an external device. If DB file location is set to cgeo dir, database will be closed and initiated.

I added some @NonNull annotation to places where eclipse shows errors.