Fix bug in folderUnreadCount() binding.

indexFromFolderId can return -1 if folder id is not valid.
Merge pull request #99 from VDVsx/master

Fix bug in folderUnreadCount() binding.