Fixes and enhancements.

Fix issues #48 and #46.
Added a bunch of new functions to deal with sentences update and remove.
Now the listSentences function must return the entry's ID.