Added support for incremented view count for threads

* Added a method threadsDb.incViewCount to increment view count
* Not supporting decrementing view count