richdir name:fixed bugs of richdir auto-name

Fixed the bugs:
Bug 1:
    some desktop files has category in deepin-soft-center and launcher,
    but the richdir auto-name is not same with deepin-soft-center

    resolve:
    1.use deepin2014.db instead of deepin.db(old database)
    2.changed the sql search method----use desktop_name instead of
    basename of desktop file

    tower:https://tower.im/projects/8a6342c556be4c4eb898fdd7fd6fcb2f/todos/b830312a7c83467a9ba0b12d59d5b3cb/

Bug 2:
    when the desktop files has not category in deepin-soft-center,the
    richdir auto-name is lowcase, but not upper case.
    resolve:
    1.use upper case instead of lowcase

    tower:https://tower.im/projects/1c0cd0c59ef941298c6e6b2ba6833b91/todos/3126742cda264ad686ca9c1135a0a74f/

Change-Id: I270b23e97a6a481f0b378347d34d91ecd533110c