add WishItemApi, mapping in hibernate and fixed some bugs from previous implementation