Tweaking locks in hashtable insert
Cleaned up hashtable_insert with entrycountlock
Changed entrycountlock from mutex to rwlock
Using fine-grained locks wherever possible now, added comments
Minor output formatting tweak
Merge branch 'locks' into advancedSearchDev