Changed get_user_preferences() to return empty dictionary instead of None when there were problems getting user preferences from the database.
Changed get_user_preferences() to return empty dictionary instead of
None when there were problems getting user preferences from the
database.

tiborsimko/invenio,inveniosoftware/invenio,inveniosoftware/invenio,tiborsimko/invenio