Improve sql command and add starred,published,archived, shared items to saved items for fever api.

Tested in Mr. Reader,work fine for me,though can not unpublish or unshare itmes.